From da03f8933a59bde6b9c928416ca333630f04819a 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 --- src/leap/mail/tests/test_mail.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/leap/mail/tests') diff --git a/src/leap/mail/tests/test_mail.py b/src/leap/mail/tests/test_mail.py index 2872f15..9f40ffb 100644 --- a/src/leap/mail/tests/test_mail.py +++ b/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