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

Commit 44bbe93

Browse files
committed
Rollback db txn count expectations to upstream
1 parent 8804840 commit 44bbe93

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
@@ -715,7 +715,7 @@ def test_post_room_no_keys(self) -> None:
715715
self.assertEqual(HTTPStatus.OK, channel.code, channel.result)
716716
self.assertTrue("room_id" in channel.json_body)
717717
assert channel.resource_usage is not None
718-
self.assertEqual(33, channel.resource_usage.db_txn_count)
718+
self.assertEqual(34, channel.resource_usage.db_txn_count)
719719

720720
def test_post_room_initial_state(self) -> None:
721721
# POST with initial_state config key, expect new room id
@@ -728,7 +728,7 @@ def test_post_room_initial_state(self) -> None:
728728
self.assertEqual(HTTPStatus.OK, channel.code, channel.result)
729729
self.assertTrue("room_id" in channel.json_body)
730730
assert channel.resource_usage is not None
731-
self.assertEqual(36, channel.resource_usage.db_txn_count)
731+
self.assertEqual(37, channel.resource_usage.db_txn_count)
732732

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

0 commit comments

Comments
 (0)