Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tests/components/buienradar/test_camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ async def test_expire_delta(aioclient_mock, hass, hass_client):
}
},
)
await hass.async_block_till_done()

client = await hass_client()

Expand All @@ -79,6 +80,7 @@ async def test_only_one_fetch_at_a_time(aioclient_mock, hass, hass_client):
await async_setup_component(
hass, "camera", {"camera": {"name": "config_test", "platform": "buienradar"}}
)
await hass.async_block_till_done()

client = await hass_client()

Expand All @@ -102,6 +104,7 @@ async def test_dimension(aioclient_mock, hass, hass_client):
"camera",
{"camera": {"name": "config_test", "platform": "buienradar", "dimension": 700}},
)
await hass.async_block_till_done()

client = await hass_client()

Expand All @@ -125,6 +128,7 @@ async def test_belgium_country(aioclient_mock, hass, hass_client):
}
},
)
await hass.async_block_till_done()

client = await hass_client()

Expand All @@ -140,6 +144,7 @@ async def test_failure_response_not_cached(aioclient_mock, hass, hass_client):
await async_setup_component(
hass, "camera", {"camera": {"name": "config_test", "platform": "buienradar"}}
)
await hass.async_block_till_done()

client = await hass_client()

Expand Down Expand Up @@ -173,6 +178,7 @@ async def test_last_modified_updates(aioclient_mock, hass, hass_client):
}
},
)
await hass.async_block_till_done()

client = await hass_client()

Expand Down Expand Up @@ -201,6 +207,7 @@ async def test_retries_after_error(aioclient_mock, hass, hass_client):
await async_setup_component(
hass, "camera", {"camera": {"name": "config_test", "platform": "buienradar"}}
)
await hass.async_block_till_done()

client = await hass_client()

Expand Down