summaryrefslogtreecommitdiff
path: root/testing/tests/sync/test_sync_mutex.py
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2016-09-18 00:26:45 -0300
committerVictor Shyba <victor1984@riseup.net>2016-11-18 15:55:52 -0300
commit9cde27c4da477aef3e049c49bff1ac917eb51123 (patch)
tree60ea2889bfa7b4c3aa63e3ca2a51f9940f9c5737 /testing/tests/sync/test_sync_mutex.py
parent9b7623637439ce09ee8dbf8c8f4fb19f6c51b396 (diff)
[refactor] remove decpool
It's not being used
Diffstat (limited to 'testing/tests/sync/test_sync_mutex.py')
-rw-r--r--testing/tests/sync/test_sync_mutex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/sync/test_sync_mutex.py b/testing/tests/sync/test_sync_mutex.py
index 2626ab2a..2bcb3aec 100644
--- a/testing/tests/sync/test_sync_mutex.py
+++ b/testing/tests/sync/test_sync_mutex.py
@@ -47,7 +47,7 @@ from test_soledad.util import soledad_sync_target
_old_sync = SoledadSynchronizer.sync
-def _timed_sync(self, defer_decryption=True):
+def _timed_sync(self):
t = time.time()
sync_id = uuid.uuid4()
@@ -62,7 +62,7 @@ def _timed_sync(self, defer_decryption=True):
self.source.sync_times[sync_id]['end'] = t
return passthrough
- d = _old_sync(self, defer_decryption=defer_decryption)
+ d = _old_sync(self)
d.addBoth(_store_finish_time)
return d