spelling: components/camera (#64242)

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2022-01-17 10:27:39 -05:00 committed by GitHub
parent 4bf0510b78
commit ab73d7c347
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -869,7 +869,7 @@ async def ws_camera_web_rtc_offer(
"""Handle the signal path for a WebRTC stream. """Handle the signal path for a WebRTC stream.
This signal path is used to route the offer created by the client to the This signal path is used to route the offer created by the client to the
camera device through the integration for negitioation on initial setup, camera device through the integration for negotiation on initial setup,
which returns an answer. The actual streaming is handled entirely between which returns an answer. The actual streaming is handled entirely between
the client and camera device. the client and camera device.

View File

@ -713,7 +713,7 @@ async def test_stream_unavailable(hass, hass_ws_client, mock_camera, mock_stream
await client.receive_json() await client.receive_json()
assert mock_update_callback.called assert mock_update_callback.called
# Simluate the stream going unavailable # Simulate the stream going unavailable
callback = mock_update_callback.call_args.args[0] callback = mock_update_callback.call_args.args[0]
with patch( with patch(
"homeassistant.components.camera.Stream.available", new_callable=lambda: False "homeassistant.components.camera.Stream.available", new_callable=lambda: False