feat: Add full CHOICE.All device support#8
Merged
Annotations
9 warnings
|
/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/threading.py#L303
coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
Coroutine created at (most recent call last)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/site-packages/pytest_asyncio/plugin.py", line 1069, in inner
_loop.run_until_complete(task)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/asyncio/base_events.py", line 712, in run_until_complete
self.run_forever()
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/asyncio/base_events.py", line 683, in run_forever
self._run_once()
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/asyncio/base_events.py", line 2042, in _run_once
handle._run()
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/asyncio/events.py", line 89, in _run
self._context.run(self._callback, *self._args)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1443, in patched
return await func(*newargs, **newkeywargs)
File "/home/runner/work/blanco_unit/blanco_unit/tests/test_config_flow.py", line 529, in test_validate_input_disconnects_on_error
await flow.validate_input(MOCKED_CONFIG)
File "/home/runner/work/blanco_unit/blanco_unit/custom_components/blanco_unit/config_flow.py", line 147, in validate_input
address_type = getattr(device.details, "address_type", "").lower()
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1169, in __call__
return self._mock_call(*args, **kwargs)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1173, in _mock_call
return self._execute_mock_call(*args, **kwargs)
|
|
/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/site-packages/_pytest/stash.py#L108
coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
Coroutine created at (most recent call last)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/site-packages/pytest_asyncio/plugin.py", line 1069, in inner
_loop.run_until_complete(task)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/asyncio/base_events.py", line 712, in run_until_complete
self.run_forever()
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/asyncio/base_events.py", line 683, in run_forever
self._run_once()
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/asyncio/base_events.py", line 2042, in _run_once
handle._run()
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/asyncio/events.py", line 89, in _run
self._context.run(self._callback, *self._args)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1443, in patched
return await func(*newargs, **newkeywargs)
File "/home/runner/work/blanco_unit/blanco_unit/tests/test_config_flow.py", line 501, in test_validate_input_disconnects_on_success
await flow.validate_input(MOCKED_CONFIG)
File "/home/runner/work/blanco_unit/blanco_unit/custom_components/blanco_unit/config_flow.py", line 147, in validate_input
address_type = getattr(device.details, "address_type", "").lower()
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1169, in __call__
return self._mock_call(*args, **kwargs)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1173, in _mock_call
return self._execute_mock_call(*args, **kwargs)
|
|
tests/test_config_flow.py#L460
coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
Coroutine created at (most recent call last)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/site-packages/pytest_asyncio/plugin.py", line 1069, in inner
_loop.run_until_complete(task)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/asyncio/base_events.py", line 712, in run_until_complete
self.run_forever()
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/asyncio/base_events.py", line 683, in run_forever
self._run_once()
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/asyncio/base_events.py", line 2042, in _run_once
handle._run()
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/asyncio/events.py", line 89, in _run
self._context.run(self._callback, *self._args)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1443, in patched
return await func(*newargs, **newkeywargs)
File "/home/runner/work/blanco_unit/blanco_unit/tests/test_config_flow.py", line 460, in test_validate_input_success
result = await flow.validate_input(MOCKED_CONFIG)
File "/home/runner/work/blanco_unit/blanco_unit/custom_components/blanco_unit/config_flow.py", line 147, in validate_input
address_type = getattr(device.details, "address_type", "").lower()
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1169, in __call__
return self._mock_call(*args, **kwargs)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1173, in _mock_call
return self._execute_mock_call(*args, **kwargs)
|
|
custom_components/blanco_unit/config_flow.py#L313
coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
Coroutine created at (most recent call last)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/asyncio/events.py", line 89, in _run
self._context.run(self._callback, *self._args)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1443, in patched
return await func(*newargs, **newkeywargs)
File "/home/runner/work/blanco_unit/blanco_unit/tests/test_config_flow.py", line 423, in test_reconfigure_flow_success
configure_result = await hass.config_entries.flow.async_configure(
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/site-packages/homeassistant/data_entry_flow.py", line 336, in async_configure
result = await self._async_configure(flow_id, user_input)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/site-packages/homeassistant/data_entry_flow.py", line 383, in _async_configure
result = await self._async_handle_step(
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/site-packages/homeassistant/data_entry_flow.py", line 487, in _async_handle_step
result: _FlowResultT = await getattr(flow, method)(user_input)
File "/home/runner/work/blanco_unit/blanco_unit/custom_components/blanco_unit/config_flow.py", line 313, in async_step_reconfigure
result = await self.validate_input(user_input)
File "/home/runner/work/blanco_unit/blanco_unit/custom_components/blanco_unit/config_flow.py", line 147, in validate_input
address_type = getattr(device.details, "address_type", "").lower()
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1169, in __call__
return self._mock_call(*args, **kwargs)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1173, in _mock_call
return self._execute_mock_call(*args, **kwargs)
|
|
custom_components/blanco_unit/config_flow.py#L274
coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
Coroutine created at (most recent call last)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/asyncio/events.py", line 89, in _run
self._context.run(self._callback, *self._args)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1443, in patched
return await func(*newargs, **newkeywargs)
File "/home/runner/work/blanco_unit/blanco_unit/tests/test_config_flow.py", line 331, in test_reauth_flow_success
configure_result = await hass.config_entries.flow.async_configure(
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/site-packages/homeassistant/data_entry_flow.py", line 336, in async_configure
result = await self._async_configure(flow_id, user_input)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/site-packages/homeassistant/data_entry_flow.py", line 383, in _async_configure
result = await self._async_handle_step(
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/site-packages/homeassistant/data_entry_flow.py", line 487, in _async_handle_step
result: _FlowResultT = await getattr(flow, method)(user_input)
File "/home/runner/work/blanco_unit/blanco_unit/custom_components/blanco_unit/config_flow.py", line 274, in async_step_reauth
result = await self.validate_input(user_input)
File "/home/runner/work/blanco_unit/blanco_unit/custom_components/blanco_unit/config_flow.py", line 147, in validate_input
address_type = getattr(device.details, "address_type", "").lower()
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1169, in __call__
return self._mock_call(*args, **kwargs)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1173, in _mock_call
return self._execute_mock_call(*args, **kwargs)
|
|
custom_components/blanco_unit/config_flow.py#L236
coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
Coroutine created at (most recent call last)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/asyncio/events.py", line 89, in _run
self._context.run(self._callback, *self._args)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1443, in patched
return await func(*newargs, **newkeywargs)
File "/home/runner/work/blanco_unit/blanco_unit/tests/test_config_flow.py", line 220, in test_user_flow_invalid_authentication
configure_result = await hass.config_entries.flow.async_configure(
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/site-packages/homeassistant/data_entry_flow.py", line 336, in async_configure
result = await self._async_configure(flow_id, user_input)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/site-packages/homeassistant/data_entry_flow.py", line 383, in _async_configure
result = await self._async_handle_step(
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/site-packages/homeassistant/data_entry_flow.py", line 487, in _async_handle_step
result: _FlowResultT = await getattr(flow, method)(user_input)
File "/home/runner/work/blanco_unit/blanco_unit/custom_components/blanco_unit/config_flow.py", line 236, in async_step_user
result = await self.validate_input(user_input)
File "/home/runner/work/blanco_unit/blanco_unit/custom_components/blanco_unit/config_flow.py", line 147, in validate_input
address_type = getattr(device.details, "address_type", "").lower()
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1169, in __call__
return self._mock_call(*args, **kwargs)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1173, in _mock_call
return self._execute_mock_call(*args, **kwargs)
|
|
custom_components/blanco_unit/config_flow.py#L236
coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
Coroutine created at (most recent call last)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/asyncio/base_events.py", line 2042, in _run_once
handle._run()
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/asyncio/events.py", line 89, in _run
self._context.run(self._callback, *self._args)
File "/home/runner/work/blanco_unit/blanco_unit/tests/test_config_flow.py", line 136, in test_user_flow_already_configured
configure_result = await hass.config_entries.flow.async_configure(
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/site-packages/homeassistant/data_entry_flow.py", line 336, in async_configure
result = await self._async_configure(flow_id, user_input)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/site-packages/homeassistant/data_entry_flow.py", line 383, in _async_configure
result = await self._async_handle_step(
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/site-packages/homeassistant/data_entry_flow.py", line 487, in _async_handle_step
result: _FlowResultT = await getattr(flow, method)(user_input)
File "/home/runner/work/blanco_unit/blanco_unit/custom_components/blanco_unit/config_flow.py", line 236, in async_step_user
result = await self.validate_input(user_input)
File "/home/runner/work/blanco_unit/blanco_unit/custom_components/blanco_unit/config_flow.py", line 147, in validate_input
address_type = getattr(device.details, "address_type", "").lower()
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1169, in __call__
return self._mock_call(*args, **kwargs)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1173, in _mock_call
return self._execute_mock_call(*args, **kwargs)
|
|
custom_components/blanco_unit/config_flow.py#L236
coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
Coroutine created at (most recent call last)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/asyncio/events.py", line 89, in _run
self._context.run(self._callback, *self._args)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1443, in patched
return await func(*newargs, **newkeywargs)
File "/home/runner/work/blanco_unit/blanco_unit/tests/test_config_flow.py", line 96, in test_user_flow_success
configure_result = await hass.config_entries.flow.async_configure(
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/site-packages/homeassistant/data_entry_flow.py", line 336, in async_configure
result = await self._async_configure(flow_id, user_input)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/site-packages/homeassistant/data_entry_flow.py", line 383, in _async_configure
result = await self._async_handle_step(
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/site-packages/homeassistant/data_entry_flow.py", line 487, in _async_handle_step
result: _FlowResultT = await getattr(flow, method)(user_input)
File "/home/runner/work/blanco_unit/blanco_unit/custom_components/blanco_unit/config_flow.py", line 236, in async_step_user
result = await self.validate_input(user_input)
File "/home/runner/work/blanco_unit/blanco_unit/custom_components/blanco_unit/config_flow.py", line 147, in validate_input
address_type = getattr(device.details, "address_type", "").lower()
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1169, in __call__
return self._mock_call(*args, **kwargs)
File "/opt/hostedtoolcache/Python/3.13.9/x64/lib/python3.13/unittest/mock.py", line 1173, in _mock_call
return self._execute_mock_call(*args, **kwargs)
|
|
tests/test_base.py#L26
cannot collect test class 'TestEntity' because it has a __init__ constructor (from: tests/test_base.py)
|
The logs for this run have expired and are no longer available.
Loading