diff options
author | Erik Johnston <erik@matrix.org> | 2018-08-09 14:33:49 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-08-09 14:58:49 +0100 |
commit | 3e19beb941f3f797262b051d47227018898bb36f (patch) | |
tree | 95b6f79073e75c594be032dc86dbb52791ba6f08 /tests/test_visibility.py | |
parent | Add fast path in state res for zero prev events (diff) | |
download | synapse-3e19beb941f3f797262b051d47227018898bb36f.tar.xz |
Fix tests
Diffstat (limited to 'tests/test_visibility.py')
-rw-r--r-- | tests/test_visibility.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_visibility.py b/tests/test_visibility.py index 0dc1a924d3..15ebb0aa08 100644 --- a/tests/test_visibility.py +++ b/tests/test_visibility.py @@ -21,7 +21,7 @@ from synapse.events import FrozenEvent from synapse.visibility import filter_events_for_server import tests.unittest -from tests.utils import setup_test_homeserver +from tests.utils import create_room, setup_test_homeserver logger = logging.getLogger(__name__) @@ -36,6 +36,8 @@ class FilterEventsForServerTestCase(tests.unittest.TestCase): self.event_builder_factory = self.hs.get_event_builder_factory() self.store = self.hs.get_datastore() + yield create_room(self.hs, TEST_ROOM_ID, "@someone:ROOM") + @defer.inlineCallbacks def test_filtering(self): # |