1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-22 17:59:02 +01:00

Bump aiokafka to 0.10.0 (#108165)

This commit is contained in:
Aaron Bach
2024-01-16 15:16:31 -07:00
committed by GitHub
parent d82abd93fb
commit 25f4fe4a85
6 changed files with 6 additions and 20 deletions

View File

@@ -62,7 +62,7 @@ async def test_minimal_config(
config = {apache_kafka.DOMAIN: MIN_CONFIG}
assert await async_setup_component(hass, apache_kafka.DOMAIN, config)
await hass.async_block_till_done()
assert mock_client.start.called_once
mock_client.start.assert_called_once()
async def test_full_config(hass: HomeAssistant, mock_client: MockKafkaClient) -> None:
@@ -83,7 +83,7 @@ async def test_full_config(hass: HomeAssistant, mock_client: MockKafkaClient) ->
assert await async_setup_component(hass, apache_kafka.DOMAIN, config)
await hass.async_block_till_done()
assert mock_client.start.called_once
mock_client.start.assert_called_once()
async def _setup(hass, filter_config):