summaryrefslogtreecommitdiff
path: root/common/src/leap
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/leap')
-rw-r--r--common/src/leap/soledad/common/tests/test_sync_mutex.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/src/leap/soledad/common/tests/test_sync_mutex.py b/common/src/leap/soledad/common/tests/test_sync_mutex.py
index 207338e4..a904a940 100644
--- a/common/src/leap/soledad/common/tests/test_sync_mutex.py
+++ b/common/src/leap/soledad/common/tests/test_sync_mutex.py
@@ -121,9 +121,9 @@ class TestSyncMutex(
sync_times.sort(key=lambda s: s['start'])
self.assertTrue(
- sync_times[0]['start'] < sync_times[0]['end']
- and sync_times[0]['end'] < sync_times[1]['start']
- and sync_times[1]['start'] < sync_times[1]['end'])
+ (sync_times[0]['start'] < sync_times[0]['end'] and
+ sync_times[0]['end'] < sync_times[1]['start'] and
+ sync_times[1]['start'] < sync_times[1]['end']))
db.delete_database()
db.close()