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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user