We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 343a318 commit 125acbfCopy full SHA for 125acbf
tests/test_room_api.py
@@ -144,7 +144,7 @@ def test_valid(self, room_api: FishjamClient):
144
config = RoomConfig(
145
max_peers=None,
146
webhook_url=None,
147
- room_type=RoomConfigRoomType.CONFERENCE,
+ room_type=RoomConfigRoomType(CONFERENCE),
148
)
149
150
assert Room(
@@ -154,7 +154,7 @@ def test_valid(self, room_api: FishjamClient):
154
) == room_api.get_room(room.id)
155
156
def test_invalid(self, room_api: FishjamClient):
157
- with pytest.raises(BadRequestError):
+ with pytest.raises(NotFoundError):
158
room_api.get_room("invalid_id")
159
160
def test_id_not_found(self, room_api):
0 commit comments