summary refs log tree commit diff
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2018-11-28 12:05:20 +0000
committerNeil Johnson <neil@matrix.org>2018-11-28 12:05:20 +0000
commit6574fdd3149163c8a91eab7ee356d4f2f6579a6a (patch)
tree9cee3f066f45e015e7be6f4a48b72eefcd89d18b
parentMerge branch 'develop' into neilj/create_support_user (diff)
downloadsynapse-6574fdd3149163c8a91eab7ee356d4f2f6579a6a.tar.xz
add in missing @defer.inlineCallbacks to test_auto_create_auto_join_where_no_consent
-rw-r--r--tests/handlers/test_register.py1
1 files changed, 1 insertions, 0 deletions
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"