summaryrefslogtreecommitdiff
path: root/testing/tests
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests')
-rw-r--r--testing/tests/sync/test_sync.py1
-rw-r--r--testing/tests/sync/test_sync_deferred.py1
-rw-r--r--testing/tests/sync/test_sync_target.py2
3 files changed, 0 insertions, 4 deletions
diff --git a/testing/tests/sync/test_sync.py b/testing/tests/sync/test_sync.py
index a7d0a92b..a434e944 100644
--- a/testing/tests/sync/test_sync.py
+++ b/testing/tests/sync/test_sync.py
@@ -184,7 +184,6 @@ class TestSoledadDbSync(
target = soledad_sync_target(
self, self.db2._dbname,
source_replica_uid=self._soledad._dbpool.replica_uid)
- self.addCleanup(target.close)
return sync.SoledadSynchronizer(
self.db,
target).sync()
diff --git a/testing/tests/sync/test_sync_deferred.py b/testing/tests/sync/test_sync_deferred.py
index eb71ea73..001612a6 100644
--- a/testing/tests/sync/test_sync_deferred.py
+++ b/testing/tests/sync/test_sync_deferred.py
@@ -142,7 +142,6 @@ class TestSoledadDbSyncDeferredEncDecr(
target = soledad_sync_target(
self, self.db2._dbname,
source_replica_uid=replica_uid)
- self.addCleanup(target.close)
return sync.SoledadSynchronizer(
dbsyncer,
target).sync()
diff --git a/testing/tests/sync/test_sync_target.py b/testing/tests/sync/test_sync_target.py
index 17223606..fd1d413e 100644
--- a/testing/tests/sync/test_sync_target.py
+++ b/testing/tests/sync/test_sync_target.py
@@ -168,7 +168,6 @@ class TestSoledadSyncTarget(
target = self.sync_target(
self, path,
source_replica_uid=source_replica_uid)
- self.addCleanup(target.close)
return target
def setUp(self):
@@ -389,7 +388,6 @@ class SoledadDatabaseSyncTargetTests(
def tearDown(self):
self.db.close()
- self.st.close()
tests.TestCaseWithServer.tearDown(self)
SoledadWithCouchServerMixin.tearDown(self)