Skip to content

Commit 411c2b3

Browse files
authored
Fix CI (#3272)
1 parent 8317dc6 commit 411c2b3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/test_quirks.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767

6868
del quirk, model_quirk_list, manufacturer
6969

70+
7071
ALL_ZIGPY_CLUSTERS = frozenset(zcl.clusters.CLUSTERS_BY_NAME.values())
7172

7273

@@ -284,7 +285,8 @@ class QuirkDevice(zhaquirks.QuickInitDevice):
284285

285286

286287
@pytest.mark.parametrize(
287-
"quirk", (q for q in ALL_QUIRK_CLASSES if issubclass(q, zhaquirks.QuickInitDevice))
288+
"quirk",
289+
(q for q in ALL_QUIRK_CLASSES if issubclass(q, zhaquirks.QuickInitDevice)),
288290
)
289291
def test_quirk_quickinit(quirk: zigpy.quirks.CustomDevice) -> None:
290292
"""Make sure signature in QuickInit Devices have all required attributes."""
@@ -576,7 +578,10 @@ def test_zigpy_custom_cluster_pollution() -> None:
576578
)
577579

578580

579-
@pytest.mark.parametrize("module_name", {q.__module__ for q in ALL_QUIRK_CLASSES})
581+
@pytest.mark.parametrize(
582+
"module_name",
583+
sorted({q.__module__ for q in ALL_QUIRK_CLASSES}),
584+
)
580585
def test_no_module_level_device_automation_triggers(module_name: str) -> None:
581586
"""Ensure no quirk module has a module-level `device_automation_triggers` dict."""
582587

0 commit comments

Comments
 (0)