soft of by default

This commit is contained in:
Devaev Maxim
2019-04-30 01:05:25 +03:00
parent 76bc1bcea6
commit fb9b1b555d
5 changed files with 15 additions and 15 deletions

View File

@@ -40,7 +40,7 @@ from kvmd.validators.kvm import valid_hid_mouse_wheel
# =====
@pytest.mark.parametrize("arg", ["ON ", "OFF ", "OFF_soft ", "RESET "])
@pytest.mark.parametrize("arg", ["ON ", "OFF ", "OFF_HARD ", "RESET_HARD "])
def test_ok__valid_atx_power_action(arg: Any) -> None:
assert valid_atx_power_action(arg) == arg.strip().lower()