Skip to content

Commit

Permalink
Fix webrtc command in test
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs committed Nov 27, 2024
1 parent 276e05e commit 326a71e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ aiohttp
aiohttp_cors
attr
janus
homeassistant==2024.10.4
homeassistant==2024.11.3
paho-mqtt
python-dateutil
yarl
Expand Down
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ flake8
mypy
pre-commit
pytest
pytest-homeassistant-custom-component==0.13.175
pytest-homeassistant-custom-component==0.13.184
pylint-pytest
pylint
pytest-aiohttp
Expand Down
5 changes: 2 additions & 3 deletions tests/test_camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
DOMAIN as CAMERA_DOMAIN,
SERVICE_DISABLE_MOTION,
SERVICE_ENABLE_MOTION,
StreamType,
async_get_image,
async_get_stream_source,
)
Expand Down Expand Up @@ -97,7 +96,7 @@ async def test_frigate_camera_setup(
await client.send_json(
{
"id": 5,
"type": "camera/web_rtc_offer",
"type": "camera/webrtc/offer",
"entity_id": TEST_CAMERA_FRONT_DOOR_ENTITY_ID,
"offer": "send_sdp",
}
Expand Down Expand Up @@ -150,7 +149,7 @@ async def test_frigate_camera_setup_birdseye(
await client.send_json(
{
"id": 5,
"type": "camera/web_rtc_offer",
"type": "camera/webrtc/offer",
"entity_id": TEST_CAMERA_BIRDSEYE_ENTITY_ID,
"offer": "send_sdp",
}
Expand Down

0 comments on commit 326a71e

Please sign in to comment.