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"