diff options
Diffstat (limited to 'src/jmc/model/tests/account.py')
-rw-r--r-- | src/jmc/model/tests/account.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/jmc/model/tests/account.py b/src/jmc/model/tests/account.py index a46236f..6790567 100644 --- a/src/jmc/model/tests/account.py +++ b/src/jmc/model/tests/account.py @@ -953,7 +953,7 @@ class SMTPAccount_TestCase(Account_TestCase): None, None, None, None, None, None, None, None, "250 OK\r\n"], - ["ehlo \[127.0...1\]\r\n", + ["ehlo .*\r\n", "mail FROM:<" + str(email['From']) + ">.*", "rcpt TO:<" + str(email['To']) + ">\r\n", "data\r\n"] + @@ -986,8 +986,8 @@ class SMTPAccount_TestCase(Account_TestCase): None, None, None, None, None, None, None, None, "250 OK\r\n"], - ["ehlo \[127.0...1\]\r\n", - "helo \[127.0...1\]\r\n", + ["ehlo .*\r\n", + "helo .*\r\n", "mail FROM:<" + str(email['From']) + ">.*", "rcpt TO:<" + str(email['To']) + ">\r\n", "data\r\n"] + @@ -1024,7 +1024,7 @@ class SMTPAccount_TestCase(Account_TestCase): None, None, None, None, None, None, None, None, "250 OK\r\n"], - ["ehlo \[127.0...1\]\r\n", + ["ehlo .*\r\n", "AUTH CRAM-MD5\r\n", ".*\r\n", "mail FROM:<" + str(email['From']) + ">.*", @@ -1065,7 +1065,7 @@ class SMTPAccount_TestCase(Account_TestCase): None, None, None, None, None, None, None, None, "250 OK\r\n"], - ["ehlo \[127.0...1\]\r\n", + ["ehlo .*\r\n", "AUTH CRAM-MD5\r\n", ".*\r\n", "AUTH LOGIN .*\r\n", |