mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 13:54:58 -04:00
Add final type hint to tests.unittest. (#15072)
Adds a return type to HomeServerTestCase.make_homeserver and deal with any variables which are no longer Any.
This commit is contained in:
parent
119e0795a5
commit
42aea0d8af
55 changed files with 433 additions and 320 deletions
|
@ -37,7 +37,7 @@ class PartialStateStreamsTestCase(BaseMultiWorkerStreamTestCase):
|
|||
room_id = self.helper.create_room_as("@bob:test")
|
||||
# Mark the room as partial-stated.
|
||||
self.get_success(
|
||||
self.store.store_partial_state_room(room_id, ["serv1", "serv2"], 0, "serv1")
|
||||
self.store.store_partial_state_room(room_id, {"serv1", "serv2"}, 0, "serv1")
|
||||
)
|
||||
|
||||
worker = self.make_worker_hs("synapse.app.generic_worker")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue