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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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):