diff options
author | Bruno Wagner <bwgpro@gmail.com> | 2015-08-12 10:43:50 -0300 |
---|---|---|
committer | Bruno Wagner <bwgpro@gmail.com> | 2015-08-12 17:17:20 -0300 |
commit | 288aeef8021285ac33f4d805694f86360d4733ca (patch) | |
tree | 004c1636c84b04d182ad0374eca8f03351ac3736 /common/src/leap/soledad/common/tests/test_sync_target.py | |
parent | 91828a5270ce6fbf43ed3a8cb46e5a017e1b0c7f (diff) |
[style] Fixed pep8 warnings after PR
Fixed pep8 warnings after latest PR
Diffstat (limited to 'common/src/leap/soledad/common/tests/test_sync_target.py')
-rw-r--r-- | common/src/leap/soledad/common/tests/test_sync_target.py | 9 |
1 files changed, 6 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 8f9e6b34..587debcb 100644 --- a/common/src/leap/soledad/common/tests/test_sync_target.py +++ b/common/src/leap/soledad/common/tests/test_sync_target.py @@ -147,7 +147,8 @@ class TestSoledadParseReceivedDocResponse(SoledadWithCouchServerMixin): # -def make_local_db_and_soledad_target(test, path='test', +def make_local_db_and_soledad_target( + test, path='test', source_replica_uid=uuid4().hex): test.startTwistedServer() db = test.request_state._create_database(os.path.basename(path)) @@ -155,9 +156,11 @@ def make_local_db_and_soledad_target(test, path='test', return db, st -def make_local_db_and_token_soledad_target(test, +def make_local_db_and_token_soledad_target( + test, source_replica_uid=uuid4().hex): - db, st = make_local_db_and_soledad_target(test, path='test', + db, st = make_local_db_and_soledad_target( + test, path='test', source_replica_uid=source_replica_uid) st.set_token_credentials('user-uuid', 'auth-token') return db, st |