From 6574fdd3149163c8a91eab7ee356d4f2f6579a6a Mon Sep 17 00:00:00 2001 From: Neil Johnson Date: Wed, 28 Nov 2018 12:05:20 +0000 Subject: [PATCH] add in missing @defer.inlineCallbacks to test_auto_create_auto_join_where_no_consent --- tests/handlers/test_register.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/handlers/test_register.py b/tests/handlers/test_register.py index 82f24ab1bc..84d89b3c54 100644 --- a/tests/handlers/test_register.py +++ b/tests/handlers/test_register.py @@ -194,6 +194,7 @@ class RegistrationTestCase(unittest.TestCase): with self.assertRaises(SynapseError): yield directory_handler.get_association(room_alias) + @defer.inlineCallbacks def test_auto_create_auto_join_where_no_consent(self): self.hs.config.user_consent_at_registration = True self.hs.config.block_events_without_consent_error = "Error"