summary refs log tree commit diff
path: root/tests/storage/test_end_to_end_keys.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/storage/test_end_to_end_keys.py')
-rw-r--r--tests/storage/test_end_to_end_keys.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/storage/test_end_to_end_keys.py b/tests/storage/test_end_to_end_keys.py
index d45c775c2d..8f0aaece40 100644
--- a/tests/storage/test_end_to_end_keys.py
+++ b/tests/storage/test_end_to_end_keys.py
@@ -26,8 +26,7 @@ class EndToEndKeyStoreTestCase(tests.unittest.TestCase):
 
     @defer.inlineCallbacks
     def setUp(self):
-        hs = yield tests.utils.setup_test_homeserver()
-
+        hs = yield tests.utils.setup_test_homeserver(self.addCleanup)
         self.store = hs.get_datastore()
 
     @defer.inlineCallbacks