summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-07-13 17:03:04 +0100
committerErik Johnston <erik@matrix.org>2018-07-13 17:03:04 +0100
commitbc832f822fc17fd28ab3609d1231a9e821be78de (patch)
tree72948f824283022d4b31745486d649e223ede6ff /tests
parentNewsfile (diff)
downloadsynapse-bc832f822fc17fd28ab3609d1231a9e821be78de.tar.xz
Fixup unit test
Diffstat (limited to 'tests')
-rw-r--r--tests/util/test_stream_change_cache.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/util/test_stream_change_cache.py b/tests/util/test_stream_change_cache.py
index e3897c0d19..fc45baaaa0 100644
--- a/tests/util/test_stream_change_cache.py
+++ b/tests/util/test_stream_change_cache.py
@@ -141,8 +141,8 @@ class StreamChangeCacheTests(unittest.TestCase):
         )
 
         # Query all the entries mid-way through the stream, but include one
-        # that doesn't exist in it. We should get back the one that doesn't
-        # exist, too.
+        # that doesn't exist in it. We shouldn't get back the one that doesn't
+        # exist.
         self.assertEqual(
             cache.get_entities_changed(
                 [
@@ -153,7 +153,7 @@ class StreamChangeCacheTests(unittest.TestCase):
                 ],
                 stream_pos=2,
             ),
-            set(["bar@baz.net", "user@elsewhere.org", "not@here.website"]),
+            set(["bar@baz.net", "user@elsewhere.org"]),
         )
 
         # Query all the entries, but before the first known point. We will get