mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Fixup unit test
This commit is contained in:
parent
5f263b607e
commit
bc832f822f
@ -141,8 +141,8 @@ class StreamChangeCacheTests(unittest.TestCase):
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Query all the entries mid-way through the stream, but include one
|
# 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
|
# that doesn't exist in it. We shouldn't get back the one that doesn't
|
||||||
# exist, too.
|
# exist.
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
cache.get_entities_changed(
|
cache.get_entities_changed(
|
||||||
[
|
[
|
||||||
@ -153,7 +153,7 @@ class StreamChangeCacheTests(unittest.TestCase):
|
|||||||
],
|
],
|
||||||
stream_pos=2,
|
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
|
# Query all the entries, but before the first known point. We will get
|
||||||
|
Loading…
Reference in New Issue
Block a user