summary refs log tree commit diff
path: root/tests/server.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-10-09 14:19:29 -0400
committerGitHub <noreply@github.com>2020-10-09 14:19:29 -0400
commitd35a451399d5bb15ba0b452c26719474371298d7 (patch)
tree94d96ca0625cee512eb20b9daf192bb221953ee3 /tests/server.py
parentFix threadsafety in ThreadedMemoryReactorClock (#8497) (diff)
downloadsynapse-d35a451399d5bb15ba0b452c26719474371298d7.tar.xz
Clean-up some broken/unused code in the test framework (#8514)
Diffstat (limited to 'tests/server.py')
-rw-r--r--tests/server.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/server.py b/tests/server.py
index 422c8b42ca..4d33b84097 100644
--- a/tests/server.py
+++ b/tests/server.py
@@ -367,8 +367,6 @@ def setup_test_homeserver(cleanup_func, *args, **kwargs):
     """
     server = _sth(cleanup_func, *args, **kwargs)
 
-    database = server.config.database.get_single_database()
-
     # Make the thread pool synchronous.
     clock = server.get_clock()