diff options
author | David Rousselie <dax@happycoders.org> | 2007-06-05 23:59:24 +0400 |
---|---|---|
committer | David Rousselie <dax@happycoders.org> | 2007-06-05 23:59:24 +0400 |
commit | b69b55e1b1abfa6c22ce01ac035893eb664f670c (patch) | |
tree | e052e33f34f7affb3408ff12a173204a34cc7b22 /src/jmc/model/tests | |
parent | 76c1d6968b37db177505ab7d8943313b7ac9d78a (diff) |
Work with default SMTP account
if a default SMTP account is defined, messages sent to root JID are sent with this account parameters.
Otherwise, the first SMTP account is used.
darcs-hash:20070605195924-86b55-5f8ab38dee873680f32b16619123d909d2ffb4b2.gz
Diffstat (limited to 'src/jmc/model/tests')
-rw-r--r-- | src/jmc/model/tests/account.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jmc/model/tests/account.py b/src/jmc/model/tests/account.py index fa5e96c..99aa526 100644 --- a/src/jmc/model/tests/account.py +++ b/src/jmc/model/tests/account.py @@ -391,7 +391,7 @@ class IMAPAccount_TestCase(unittest.TestCase): class SMTPAccount_TestCase(Account_TestCase): def test_get_register_fields(self): register_fields = SMTPAccount.get_register_fields() - self.assertEquals(len(register_fields), 7) + self.assertEquals(len(register_fields), 8) def suite(): suite = unittest.TestSuite() |