mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Don't access hass.data directly in generic camera test. (#68316)
This commit is contained in:
parent
712c9d4a4f
commit
490c921763
@ -280,7 +280,7 @@ async def test_setup_alternative_options(hass, hass_ws_client):
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done()
|
||||||
assert hass.data["camera"].get_entity("camera.config_test")
|
assert hass.states.get("camera.config_test")
|
||||||
|
|
||||||
|
|
||||||
async def test_no_stream_source(hass, hass_client, hass_ws_client, fakeimgbytes_png):
|
async def test_no_stream_source(hass, hass_client, hass_ws_client, fakeimgbytes_png):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user