summaryrefslogtreecommitdiff
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
commit1f32b479c24c28bc367f70a7d6346c42d97041b5 (patch)
tree6a5b9a67106ffed1d3f1cc21f8f873524f103dd9
parentb23b374ead52102709c2a6b4667e4c8debcaaa7b (diff)
[tests] properly skip not implemented tests, do not raise
-rw-r--r--mail/src/leap/mail/adaptors/tests/test_soledad_adaptor.py4
-rw-r--r--mail/src/leap/mail/tests/test_mail.py13
2 files changed, 11 insertions, 6 deletions
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 b67e7381..61e387c6 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 2872f15b..9f40ffb6 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"