diff options
author | drebs <drebs@leap.se> | 2014-12-16 15:33:46 -0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-02-11 14:03:18 -0400 |
commit | d0a0e92550bcc148fa236add5360ed581109ae6b (patch) | |
tree | 2e6af5976d4f678a19e1a95b0cc9aa06c608195f /common/src/leap/soledad/common/tests/u1db_tests/test_backends.py | |
parent | d8c457680b79c202d54dcf9ea799a03b5ffc6c03 (diff) |
Use Twisted trial for running tests.
Diffstat (limited to 'common/src/leap/soledad/common/tests/u1db_tests/test_backends.py')
-rw-r--r-- | common/src/leap/soledad/common/tests/u1db_tests/test_backends.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/common/src/leap/soledad/common/tests/u1db_tests/test_backends.py b/common/src/leap/soledad/common/tests/u1db_tests/test_backends.py index 54adcde1..27fc50dc 100644 --- a/common/src/leap/soledad/common/tests/u1db_tests/test_backends.py +++ b/common/src/leap/soledad/common/tests/u1db_tests/test_backends.py @@ -40,6 +40,8 @@ from u1db.remote import ( http_database, ) +from unittest import skip + def make_http_database_for_test(test, replica_uid, path='test', *args): test.startServer() @@ -79,6 +81,7 @@ class TestAlternativeDocument(DocumentBase): """A (not very) alternative implementation of Document.""" +@skip("Skiping tests imported from U1DB.") class AllDatabaseTests(tests.DatabaseBaseTests, tests.TestCaseWithServer): scenarios = tests.LOCAL_DATABASES_SCENARIOS + [ @@ -327,6 +330,7 @@ class AllDatabaseTests(tests.DatabaseBaseTests, tests.TestCaseWithServer): self.assertGetDoc(self.db, doc.doc_id, doc.rev, nested_doc, False) +@skip("Skiping tests imported from U1DB.") class DocumentSizeTests(tests.DatabaseBaseTests): scenarios = tests.LOCAL_DATABASES_SCENARIOS @@ -351,6 +355,7 @@ class DocumentSizeTests(tests.DatabaseBaseTests): self.assertEqual(1000000, self.db.document_size_limit) +@skip("Skiping tests imported from U1DB.") class LocalDatabaseTests(tests.DatabaseBaseTests): scenarios = tests.LOCAL_DATABASES_SCENARIOS @@ -609,6 +614,7 @@ class LocalDatabaseTests(tests.DatabaseBaseTests): self.db.whats_changed(2)) +@skip("Skiping tests imported from U1DB.") class LocalDatabaseValidateGenNTransIdTests(tests.DatabaseBaseTests): scenarios = tests.LOCAL_DATABASES_SCENARIOS @@ -633,6 +639,7 @@ class LocalDatabaseValidateGenNTransIdTests(tests.DatabaseBaseTests): self.db.validate_gen_and_trans_id, gen + 1, trans_id) +@skip("Skiping tests imported from U1DB.") class LocalDatabaseValidateSourceGenTests(tests.DatabaseBaseTests): scenarios = tests.LOCAL_DATABASES_SCENARIOS @@ -652,6 +659,7 @@ class LocalDatabaseValidateSourceGenTests(tests.DatabaseBaseTests): self.db._validate_source, 'other', 1, 'T-sad') +@skip("Skiping tests imported from U1DB.") class LocalDatabaseWithConflictsTests(tests.DatabaseBaseTests): # test supporting/functionality around storing conflicts @@ -1028,6 +1036,7 @@ class LocalDatabaseWithConflictsTests(tests.DatabaseBaseTests): self.assertRaises(errors.ConflictedDoc, self.db.delete_doc, doc2) +@skip("Skiping tests imported from U1DB.") class DatabaseIndexTests(tests.DatabaseBaseTests): scenarios = tests.LOCAL_DATABASES_SCENARIOS @@ -1834,6 +1843,7 @@ class DatabaseIndexTests(tests.DatabaseBaseTests): self.assertParseError('combine(lower(x)x,foo)') +@skip("Skiping tests imported from U1DB.") class PythonBackendTests(tests.DatabaseBaseTests): def setUp(self): |