File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 67
67
68
68
del quirk , model_quirk_list , manufacturer
69
69
70
+
70
71
ALL_ZIGPY_CLUSTERS = frozenset (zcl .clusters .CLUSTERS_BY_NAME .values ())
71
72
72
73
@@ -284,7 +285,8 @@ class QuirkDevice(zhaquirks.QuickInitDevice):
284
285
285
286
286
287
@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 )),
288
290
)
289
291
def test_quirk_quickinit (quirk : zigpy .quirks .CustomDevice ) -> None :
290
292
"""Make sure signature in QuickInit Devices have all required attributes."""
@@ -576,7 +578,10 @@ def test_zigpy_custom_cluster_pollution() -> None:
576
578
)
577
579
578
580
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
+ )
580
585
def test_no_module_level_device_automation_triggers (module_name : str ) -> None :
581
586
"""Ensure no quirk module has a module-level `device_automation_triggers` dict."""
582
587
You can’t perform that action at this time.
0 commit comments