1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-08 09:38:58 +01:00

Unignore Ruff PLR in tests (#114470)

* Unignore Ruff PLR in tests

* Address review comments

* review comments

* fix import

* Update test_api.py

* Update test_api.py

* Update test_api.py
This commit is contained in:
Sid
2024-04-01 11:11:59 +02:00
committed by GitHub
parent dc59073f25
commit d5f883fbf0
169 changed files with 211 additions and 266 deletions
+2 -2
View File
@@ -1349,7 +1349,7 @@ async def test_async_get_component_concurrent_loads(
modules_without_integration = {
k: v
for k, v in sys.modules.items()
if k != config_flow_module_name and k != integration.pkg_path
if k not in (config_flow_module_name, integration.pkg_path)
}
with (
patch.dict(
@@ -1737,7 +1737,7 @@ async def test_async_get_platforms_concurrent_loads(
modules_without_button = {
k: v
for k, v in sys.modules.items()
if k != button_module_name and k != integration.pkg_path
if k not in (button_module_name, integration.pkg_path)
}
with (
patch.dict(