diff options
author | Tomás Touceda <chiiph@leap.se> | 2014-04-11 10:04:29 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2014-04-11 10:04:29 -0300 |
commit | 8ef9038178ca0bfab8045be92bd20e6407e4fe2a (patch) | |
tree | 32c4f2d0692fa52caa14a7d4d585374c21a2be52 /common/src/leap/soledad/common/tests/test_server.py | |
parent | 8935765a0d0a6956f1140bb7ab0bd1af57b4303f (diff) | |
parent | f20d32698576f521f2fb53de0e636d318e826729 (diff) |
Merge remote-tracking branch 'refs/remotes/drebs/bug/5493_avoid-file-descriptor-leaks' into develop
Diffstat (limited to 'common/src/leap/soledad/common/tests/test_server.py')
-rw-r--r-- | common/src/leap/soledad/common/tests/test_server.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/common/src/leap/soledad/common/tests/test_server.py b/common/src/leap/soledad/common/tests/test_server.py index 6fe9211c..1c5a7407 100644 --- a/common/src/leap/soledad/common/tests/test_server.py +++ b/common/src/leap/soledad/common/tests/test_server.py @@ -391,6 +391,9 @@ class EncryptedSyncTestCase( # assert incoming doc is equal to the first sent doc self.assertEqual(doc1, doc2) db.delete_database() + db.close() + sol1.close() + sol2.close() def test_encrypted_sym_sync_with_unicode_passphrase(self): """ @@ -450,6 +453,9 @@ class EncryptedSyncTestCase( # assert incoming doc is equal to the first sent doc self.assertEqual(doc1, doc2) db.delete_database() + db.close() + sol1.close() + sol2.close() def test_sync_very_large_files(self): """ @@ -492,6 +498,9 @@ class EncryptedSyncTestCase( self.assertEqual(doc1, doc2) # delete remote database db.delete_database() + db.close() + sol1.close() + sol2.close() def test_sync_many_small_files(self): @@ -535,6 +544,9 @@ class EncryptedSyncTestCase( self.assertEqual(sol1.get_doc(doc.doc_id), doc) # delete remote database db.delete_database() + db.close() + sol1.close() + sol2.close() class LockResourceTestCase( CouchDBTestCase, TestCaseWithServer): |