diff options
author | David Rousselie <dax@happycoders.org> | 2009-07-01 23:36:04 +0400 |
---|---|---|
committer | David Rousselie <dax@happycoders.org> | 2009-07-01 23:36:04 +0400 |
commit | 4a9e1552f39ac1fbc16541b5a145d69c9b52eb01 (patch) | |
tree | 05317c7e033fbcfa89fda5c5e15d0fa5b23c6377 /src/jmc/model | |
parent | 9bab12811370cda2e9b858e67d84c7843a836505 (diff) |
Make JMC work with PyXMPP 1.0.1
Ignore-this: cc242e6115e0359528974bc6607a9585
It will now be incompatible with PyXMPP <1.0.1
darcs-hash:20090701193604-86b55-70288dbfa46c93da43cae0e36bffe2bdb6df0178.gz
Diffstat (limited to 'src/jmc/model')
-rw-r--r-- | src/jmc/model/tests/account.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jmc/model/tests/account.py b/src/jmc/model/tests/account.py index 3affb13..fb2ec33 100644 --- a/src/jmc/model/tests/account.py +++ b/src/jmc/model/tests/account.py @@ -527,7 +527,7 @@ class IMAPAccount_TestCase(InheritableAccount_TestCase): try: tested_func() except Exception, e: - self.assertEquals(e.message, exception_message) + self.assertEquals(str(e), exception_message) return self.fail("No exception raised when selecting non existing mailbox") test_func = self.make_test(\ @@ -608,7 +608,7 @@ class IMAPAccount_TestCase(InheritableAccount_TestCase): try: self.imap_account.get_new_mail_list() except Exception, e: - self.assertEquals(e.message, "Mailbox does not exist") + self.assertEquals(str(e), "Mailbox does not exist") return self.fail("No exception raised when selecting non existing mailbox") test_func = self.make_test(\ |