Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 4c846e4

Browse files
committed
Update room create tests
1 parent 7ab5f1a commit 4c846e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/rest/client/test_rooms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ def test_post_room_no_keys(self) -> None:
709709
self.assertEqual(200, channel.code, channel.result)
710710
self.assertTrue("room_id" in channel.json_body)
711711
assert channel.resource_usage is not None
712-
self.assertEqual(37, channel.resource_usage.db_txn_count)
712+
self.assertEqual(32, channel.resource_usage.db_txn_count)
713713

714714
def test_post_room_initial_state(self) -> None:
715715
# POST with initial_state config key, expect new room id
@@ -722,7 +722,7 @@ def test_post_room_initial_state(self) -> None:
722722
self.assertEqual(200, channel.code, channel.result)
723723
self.assertTrue("room_id" in channel.json_body)
724724
assert channel.resource_usage is not None
725-
self.assertEqual(41, channel.resource_usage.db_txn_count)
725+
self.assertEqual(35, channel.resource_usage.db_txn_count)
726726

727727
def test_post_room_visibility_key(self) -> None:
728728
# POST with visibility config key, expect new room id

0 commit comments

Comments
 (0)