fix tests

This commit is contained in:
Matthew Hodgson 2018-11-03 12:58:25 +00:00
parent 6e7488ce11
commit 7ed3232b08

View file

@ -63,6 +63,7 @@ class TestMauLimit(unittest.TestCase):
self.hs.config.server_notices_mxid_display_name = None self.hs.config.server_notices_mxid_display_name = None
self.hs.config.server_notices_mxid_avatar_url = None self.hs.config.server_notices_mxid_avatar_url = None
self.hs.config.server_notices_room_name = "Test Server Notice Room" self.hs.config.server_notices_room_name = "Test Server Notice Room"
self.hs.config.register_mxid_from_3pid = None
self.resource = JsonResource(self.hs) self.resource = JsonResource(self.hs)
register.register_servlets(self.hs, self.resource) register.register_servlets(self.hs, self.resource)