diff options
author | Bruno Wagner <bwgpro@gmail.com> | 2015-08-03 19:18:31 -0300 |
---|---|---|
committer | Bruno Wagner <bwgpro@gmail.com> | 2015-08-03 19:18:31 -0300 |
commit | 4777ad0d3ec5378de8b0c7ffbcecf2e19ad9c180 (patch) | |
tree | b39c63a963ba5cf0ddf77bf45e38210392eb3091 /src | |
parent | 16a7f2987c54ff38a08d39a7f2eaf1662a154115 (diff) |
[tests] Skipped tests that were not implemented
Functionality that is not implemented should not fail, instead
it should be skipped until it is implemented.
Added a return to test_imap_store_fetch setup to make sure the deferred
is being handled
Diffstat (limited to 'src')
-rw-r--r-- | src/leap/mail/adaptors/tests/test_soledad_adaptor.py | 2 | ||||
-rw-r--r-- | src/leap/mail/imap/tests/test_imap_store_fetch.py | 2 | ||||
-rw-r--r-- | src/leap/mail/tests/test_mail.py | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/leap/mail/adaptors/tests/test_soledad_adaptor.py b/src/leap/mail/adaptors/tests/test_soledad_adaptor.py index 3dc79fe..bdc2c48 100644 --- a/src/leap/mail/adaptors/tests/test_soledad_adaptor.py +++ b/src/leap/mail/adaptors/tests/test_soledad_adaptor.py @@ -364,7 +364,7 @@ class SoledadMailAdaptorTestCase(SoledadTestMixin): def test_get_msg_from_metamsg_doc_id(self): # TODO complete-me! - self.fail() + self.skipTest("Not yet implemented") def test_create_msg(self): adaptor = self.get_adaptor() diff --git a/src/leap/mail/imap/tests/test_imap_store_fetch.py b/src/leap/mail/imap/tests/test_imap_store_fetch.py index 81f88fe..a71ff45 100644 --- a/src/leap/mail/imap/tests/test_imap_store_fetch.py +++ b/src/leap/mail/imap/tests/test_imap_store_fetch.py @@ -14,9 +14,9 @@ class StoreAndFetchTestCase(IMAP4HelperMixin): """ def setUp(self): - IMAP4HelperMixin.setUp(self) self.received_messages = self.received_uid = None self.result = None + return IMAP4HelperMixin.setUp(self) def addListener(self, x): pass diff --git a/src/leap/mail/tests/test_mail.py b/src/leap/mail/tests/test_mail.py index 2c03933..2872f15 100644 --- a/src/leap/mail/tests/test_mail.py +++ b/src/leap/mail/tests/test_mail.py @@ -271,7 +271,7 @@ class MessageCollectionTestCase(SoledadTestMixin, CollectionMixin): def test_copy_msg(self): # TODO ---- update when implementing messagecopier # interface - self.fail("Not Yet Implemented") + self.skipTest("Not yet implemented") def test_delete_msg(self): d = self.add_msg_to_collection() @@ -390,7 +390,7 @@ class AccountTestCase(SoledadTestMixin): # XXX not yet implemented def test_get_collection_by_docs(self): - self.fail("Not Yet Implemented") + self.skipTest("Not Yet Implemented") def test_get_collection_by_tag(self): - self.fail("Not Yet Implemented") + self.skipTest("Not Yet Implemented") |