Fix consider-using-tuple warning in tplink_omada tests (#119814)
Fix consider-using-tuple in tplink_omada tests
This commit is contained in:
parent
75fa0b91d8
commit
4e3cc43343
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue