Add _check_supported

This commit is contained in:
Teemu Rytilahti
2024-12-05 17:59:50 +01:00
parent c0f5d5b594
commit f3ebb02b10
2 changed files with 8 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ def _skip_on_unavailable(dev: SmartDevice):
@pytest.mark.parametrize(
("feature", "prop_name", "type"),
[
("overloaded", "overloaded", bool | None),
("overloaded", "overloaded", bool),
("power_protection_enabled", "enabled", bool),
("power_protection_threshold", "protection_threshold", int),
],