Skip to content

Commit b560212

Browse files
committed
Simplify test
1 parent c235d88 commit b560212

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

tests/test_room_api.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -260,18 +260,6 @@ def test_create_vapi_agent(self, room_api: FishjamClient):
260260

261261
assert peer.type_ == PeerType.VAPI
262262

263-
room = room_api.get_room(room.id)
264-
assert any(p.id == peer.id for p in room.peers)
265-
266-
def test_delete_vapi_agent(self, room_api: FishjamClient):
267-
room = room_api.create_room()
268-
options = PeerOptionsVapi(api_key="test_api_key", call_id="test-call-id")
269-
peer = room_api.create_vapi_agent(room.id, options=options)
270-
271-
room_api.delete_peer(room.id, peer.id)
272-
273-
assert [] == room_api.get_room(room.id).peers
274-
275263

276264
class TestDeletePeer:
277265
def test_valid(self, room_api: FishjamClient):

0 commit comments

Comments
 (0)