From 4e3cc43343c52ea26d6ec07f2356bf6ac8b5053b Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Mon, 17 Jun 2024 11:13:34 +0200 Subject: [PATCH] Fix consider-using-tuple warning in tplink_omada tests (#119814) Fix consider-using-tuple in tplink_omada tests --- tests/components/tplink_omada/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()