mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 13:44:56 -04:00
Fixup unit test
This commit is contained in:
parent
5f263b607e
commit
bc832f822f
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue