summaryrefslogtreecommitdiff
path: root/common/src
diff options
context:
space:
mode:
authorBruno Wagner <bwgpro@gmail.com>2015-08-06 13:17:11 -0300
committerBruno Wagner <bwgpro@gmail.com>2015-08-12 17:17:17 -0300
commit4e284e7e82f6a7e5fa7f92ed3b368dbddfafdff2 (patch)
treee7d4ee984aec7d534eb24abd1168519afe7b3cc7 /common/src
parent7b722cc7f53e1d60eb8d6067871224c9939ab711 (diff)
[tests] Removed dependency u1db test in parse test
Started looking at what we can do to remove the u1db test dependencies directly, the parse was calling another class setup that was in fact the u1db testcase, changed that to testcase directly and it still works
Diffstat (limited to 'common/src')
-rw-r--r--common/src/leap/soledad/common/tests/test_sync_target.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/src/leap/soledad/common/tests/test_sync_target.py b/common/src/leap/soledad/common/tests/test_sync_target.py
index 21ead889..1fd29b3e 100644
--- a/common/src/leap/soledad/common/tests/test_sync_target.py
+++ b/common/src/leap/soledad/common/tests/test_sync_target.py
@@ -51,13 +51,12 @@ from leap.soledad.common.tests.util import ADDRESS
from leap.soledad.common.tests.u1db_tests import test_remote_sync_target
from leap.soledad.common.tests.u1db_tests import test_sync
-
# -----------------------------------------------------------------------------
# The following tests come from `u1db.tests.test_remote_sync_target`.
# -----------------------------------------------------------------------------
class TestSoledadParseReceivedDocResponse(
- test_remote_sync_target.TestParsingSyncStream,
+ tests.TestCase,
BaseSoledadTest):
"""
@@ -66,7 +65,7 @@ class TestSoledadParseReceivedDocResponse(
"""
def setUp(self):
- super(test_remote_sync_target.TestParsingSyncStream, self).setUp()
+ super(tests.TestCase, self).setUp()
creds = {'token': {
'uuid': 'user-uuid',
'token': 'auth-token',