|
|
@@ -1069,11 +1069,13 @@ class TestSupportsDrying:
|
|
|
assert supports_drying("X1C", "01.09.00.00") is True
|
|
|
assert supports_drying("P1S", "01.08.00.00") is True
|
|
|
assert supports_drying("H2D", "01.02.30.00") is True
|
|
|
+ assert supports_drying("H2S", "01.02.00.00") is True
|
|
|
|
|
|
def test_known_supported_old_firmware(self):
|
|
|
"""Verify known models with old firmware return False."""
|
|
|
assert supports_drying("X1C", "01.08.00.00") is False
|
|
|
assert supports_drying("P1S", "01.07.00.00") is False
|
|
|
+ assert supports_drying("H2S", "01.01.00.00") is False
|
|
|
|
|
|
def test_known_supported_no_firmware(self):
|
|
|
"""Verify known models with no firmware return False."""
|
|
|
@@ -1081,7 +1083,7 @@ class TestSupportsDrying:
|
|
|
|
|
|
def test_unsupported_models(self):
|
|
|
"""Verify models without AMS drying support return False regardless of firmware."""
|
|
|
- for model in ["P2S", "A1", "A1MINI", "A1-MINI", "H2S", "H2C", "N7", "N1", "N2S"]:
|
|
|
+ for model in ["P2S", "A1", "A1MINI", "A1-MINI", "H2C", "N7", "N1", "N2S"]:
|
|
|
assert supports_drying(model, "99.99.99.99") is False, f"Expected False for {model}"
|
|
|
|
|
|
def test_unknown_models_allowed(self):
|