diff options
author | drebs <drebs@leap.se> | 2013-01-10 15:55:21 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2013-01-10 15:55:21 -0200 |
commit | aa57fbac878edf6326539638b00b02467ce821ea (patch) | |
tree | 974c0c1d219208a1b881dd8495bfb92d0d9bff38 | |
parent | c98e3bb5a183c2545a9afd8a15592f9e2047b0ef (diff) |
LeapDatabase passes u1db TestHTTPClientBase.
-rw-r--r-- | tests/test_leap_backend.py | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/tests/test_leap_backend.py b/tests/test_leap_backend.py index 5a992e76..5f58c832 100644 --- a/tests/test_leap_backend.py +++ b/tests/test_leap_backend.py @@ -16,7 +16,10 @@ from leap.soledad.tests.u1db_tests.test_backends import AllDatabaseTests from leap.soledad.tests.u1db_tests.test_http_database import ( TestHTTPDatabaseSimpleOperations, TestHTTPDatabaseCtrWithCreds, - TestHTTPDatabaseIntegration + TestHTTPDatabaseIntegration, +) +from leap.soledad.tests.u1db_tests.test_http_client import ( + TestHTTPClientBase, ) @@ -75,7 +78,7 @@ class LeapTests(AllDatabaseTests): #----------------------------------------------------------------------------- -# The following tests come from `u1db.tests.test_http_client`. +# The following tests come from `u1db.tests.test_http_database`. #----------------------------------------------------------------------------- class TestLeapDatabaseSimpleOperations(TestHTTPDatabaseSimpleOperations): @@ -159,4 +162,13 @@ class TestLeapDatabaseIntegration(TestHTTPDatabaseIntegration): self.assertGetDoc(db0, '%fff', doc.rev, '{}', False) self.assertGetDoc(db, '%fff', doc.rev, '{}', False) + +#----------------------------------------------------------------------------- +# The following tests come from `u1db.tests.test_http_client`. +#----------------------------------------------------------------------------- + +class TestLeapClientBase(TestHTTPClientBase): + pass + + load_tests = tests.load_with_scenarios |