summary refs log tree commit diff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-03-11 21:16:10 +1100
committerAmber Brown <hawkowl@atleastfornow.net>2019-03-11 21:16:10 +1100
commit26eefca3b7c4ba06afde12e090bbc3ee75955e98 (patch)
tree8fb47126cd04ef5573537ce7259187b1a48e3b25 /tests/utils.py
parentmaster startup (diff)
downloadsynapse-26eefca3b7c4ba06afde12e090bbc3ee75955e98.tar.xz
setup master
Diffstat (limited to '')
-rw-r--r--tests/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/utils.py b/tests/utils.py
index 9c8dc9dbce..03b5a05b22 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -331,6 +331,8 @@ def setup_test_homeserver(
                 cleanup_func(cleanup)
 
         hs.setup()
+        if homeserverToUse.__name__ == "TestHomeServer":
+            hs.setup_master()
     else:
         hs = homeserverToUse(
             name,