From 4e284e7e82f6a7e5fa7f92ed3b368dbddfafdff2 Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Thu, 6 Aug 2015 13:17:11 -0300 Subject: [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 --- common/src/leap/soledad/common/tests/test_sync_target.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'common') 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', -- cgit v1.2.3