Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dax/jmc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rousselie <dax@happycoders.org>2008-11-04 22:43:18 +0300
committerDavid Rousselie <dax@happycoders.org>2008-11-04 22:43:18 +0300
commit6d06e84d07c0009c59fc8e29979379e9a8edbca6 (patch)
tree8fa8af680a4fc1c743a8051e635de0178cf731a1 /src/jmc/model
parent8dd993612d2fa4642b026feb3339751108def9e3 (diff)
migrate from FeederComponent.handler to FeederComponent.tick_handlers
darcs-hash:20081104194318-86b55-d3c3bb31e84dbc8b2352e206b45bf24ea90ffbf8.gz
Diffstat (limited to 'src/jmc/model')
-rw-r--r--src/jmc/model/tests/account.py10
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",