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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user