9 Commits

Author SHA1 Message Date
Sean Quah
99d3931974
Add more tests for room upgrades ()
Signed-off-by: Sean Quah <seanq@element.io>
2022-06-15 18:58:23 +01:00
Erik Johnston
888a29f412
Wait for lazy join to complete when getting current state () 2022-06-01 16:02:53 +01:00
Andrew Morgan
96df31239c
Add a unit test for copying over arbitrary room types when upgrading a room () 2022-05-19 18:32:48 +01:00
David Robertson
051a1c3f22
Convert stringy power levels to integers on room upgrade () 2022-05-07 13:37:29 +01:00
Dirk Klimpel
1901cb1d4a
Add type hints to tests/rest/client () 2022-02-28 17:47:37 +00:00
Patrick Cloke
02d708568b
Replace assertEquals and friends with non-deprecated versions. () 2022-02-28 07:12:29 -05:00
Richard van der Hoff
e24ff8ebe3
Remove HomeServer.get_datastore() ()
The presence of this method was confusing, and mostly present for backwards
compatibility. Let's get rid of it.

Part of 
2022-02-23 11:04:02 +00:00
Patrick Cloke
63f28e4a0c
Handle room upgrades for spaces ()
By copying the `room_type` field of the create event and
migrating any non-empty `m.space.child` events to the
new room that is created.
2021-09-10 07:30:05 -04:00
David Robertson
ecd823d766
Flatten tests/rest/client/{v1,v2_alpha} too () 2021-08-20 17:50:44 +01:00