lints
parent
6435581cac
commit
65d34f9bb4
|
@ -977,14 +977,14 @@ class RoomTestCase(unittest.HomeserverTestCase):
|
||||||
access_token=self.admin_user_tok,
|
access_token=self.admin_user_tok,
|
||||||
)
|
)
|
||||||
self.assertEqual(expected_http_code, channel.code, msg=channel.json_body)
|
self.assertEqual(expected_http_code, channel.code, msg=channel.json_body)
|
||||||
self.assertIn(expected_room_id, channel.json_body.get('rooms')[0].get('room_id'))
|
self.assertIn(
|
||||||
self.assertIn("ж", channel.json_body.get('rooms')[0].get('name'))
|
expected_room_id, channel.json_body.get("rooms")[0].get("room_id")
|
||||||
|
)
|
||||||
|
self.assertIn("ж", channel.json_body.get("rooms")[0].get("name"))
|
||||||
|
|
||||||
search_term = "ж"
|
search_term = "ж"
|
||||||
_search_test_utf8(room_id, search_term)
|
_search_test_utf8(room_id, search_term)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def test_single_room(self):
|
def test_single_room(self):
|
||||||
"""Test that a single room can be requested correctly"""
|
"""Test that a single room can be requested correctly"""
|
||||||
# Create two test rooms
|
# Create two test rooms
|
||||||
|
|
Loading…
Reference in New Issue