summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-08-20 23:45:19 -0400
committerKali Kaneko <kali@leap.se>2015-08-21 00:02:06 -0400
commitda03f8933a59bde6b9c928416ca333630f04819a (patch)
tree1ab5c585e62f988829034e50696bfcfd3f4b3b2e /src/leap
parentc279e6587f9240d7eb9806996bc84d09cc5d8c97 (diff)
[tests] properly skip not implemented tests, do not raise
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/mail/adaptors/tests/test_soledad_adaptor.py4
-rw-r--r--src/leap/mail/tests/test_mail.py13
2 files changed, 11 insertions, 6 deletions
diff --git a/src/leap/mail/adaptors/tests/test_soledad_adaptor.py b/src/leap/mail/adaptors/tests/test_soledad_adaptor.py
index b67e738..61e387c 100644
--- a/src/leap/mail/adaptors/tests/test_soledad_adaptor.py
+++ b/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/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"