summary refs log tree commit diff
path: root/tests/test_federation.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-11-15 22:46:51 +0000
committerRichard van der Hoff <richard@matrix.org>2018-11-19 17:07:01 +0000
commit884a56144762385c64e6815c961d0d67ff47cc2f (patch)
tree4444598043d304cec59c1c5241fbfea9b8527cfc /tests/test_federation.py
parentFix logcontext leak in EmailPusher (diff)
downloadsynapse-884a56144762385c64e6815c961d0d67ff47cc2f.tar.xz
Fix some tests which leaked logcontexts
Diffstat (limited to 'tests/test_federation.py')
-rw-r--r--tests/test_federation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_federation.py b/tests/test_federation.py
index e1a34ccffd..1a5dc32c88 100644
--- a/tests/test_federation.py
+++ b/tests/test_federation.py
@@ -123,8 +123,8 @@ class MessageAcceptTests(unittest.TestCase):
                 "test.serv", lying_event, sent_to_us_directly=True
             )
 
-        # Step the reactor, so the database fetches come back
-        self.reactor.advance(1)
+            # Step the reactor, so the database fetches come back
+            self.reactor.advance(1)
 
         # on_receive_pdu should throw an error
         failure = self.failureResultOf(d)