From 1f32b479c24c28bc367f70a7d6346c42d97041b5 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Thu, 20 Aug 2015 23:45:19 -0400 Subject: [tests] properly skip not implemented tests, do not raise --- mail/src/leap/mail/adaptors/tests/test_soledad_adaptor.py | 4 +++- mail/src/leap/mail/tests/test_mail.py | 13 ++++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) (limited to 'mail') diff --git a/mail/src/leap/mail/adaptors/tests/test_soledad_adaptor.py b/mail/src/leap/mail/adaptors/tests/test_soledad_adaptor.py index b67e738..61e387c 100644 --- a/mail/src/leap/mail/adaptors/tests/test_soledad_adaptor.py +++ b/mail/src/leap/mail/adaptors/tests/test_soledad_adaptor.py @@ -382,7 +382,9 @@ class SoledadMailAdaptorTestCase(SoledadTestMixin): def test_get_msg_from_metamsg_doc_id(self): # TODO complete-me! - self.skipTest("Not yet implemented") + pass + + test_get_msg_from_metamsg_doc_id.skip = "Not yet implemented" def test_create_msg(self): adaptor = self.get_adaptor() diff --git a/mail/src/leap/mail/tests/test_mail.py b/mail/src/leap/mail/tests/test_mail.py index 2872f15..9f40ffb 100644 --- a/mail/src/leap/mail/tests/test_mail.py +++ b/mail/src/leap/mail/tests/test_mail.py @@ -271,7 +271,8 @@ class MessageCollectionTestCase(SoledadTestMixin, CollectionMixin): def test_copy_msg(self): # TODO ---- update when implementing messagecopier # interface - self.skipTest("Not yet implemented") + pass + test_copy_msg.skip = "Not yet implemented" def test_delete_msg(self): d = self.add_msg_to_collection() @@ -387,10 +388,12 @@ class AccountTestCase(SoledadTestMixin): d.addCallback(assert_uid_next_empty_collection) return d - # XXX not yet implemented - def test_get_collection_by_docs(self): - self.skipTest("Not Yet Implemented") + pass + + test_get_collection_by_docs.skip = "Not yet implemented" def test_get_collection_by_tag(self): - self.skipTest("Not Yet Implemented") + pass + + test_get_collection_by_tag.skip = "Not yet implemented" -- cgit v1.2.3