diff --git a/tests/components/tplink_omada/conftest.py b/tests/components/tplink_omada/conftest.py index 085cc32d1aa..c29fcb633e4 100644 --- a/tests/components/tplink_omada/conftest.py +++ b/tests/components/tplink_omada/conftest.py @@ -77,7 +77,7 @@ def mock_omada_site_client() -> Generator[AsyncMock]: site_client.get_switch_ports = AsyncMock(return_value=switch1_ports) async def async_empty() -> AsyncIterable: - for c in []: + for c in (): yield c site_client.get_known_clients.return_value = async_empty()