diff options
author | Devaev Maxim <[email protected]> | 2019-09-24 00:03:31 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-09-24 00:03:31 +0300 |
commit | aee005787c1c1082e50224fc492409e49b60d389 (patch) | |
tree | e531c4a616df4ebde6c69988e5a7c1bc21bf28df /testenv | |
parent | 661828502e7f9e3b8afcdff8def9678937de97a9 (diff) |
preparing to otg
Diffstat (limited to 'testenv')
-rw-r--r-- | testenv/tests/validators/test_kvm.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/testenv/tests/validators/test_kvm.py b/testenv/tests/validators/test_kvm.py index 920dcb10..fb223d6a 100644 --- a/testenv/tests/validators/test_kvm.py +++ b/testenv/tests/validators/test_kvm.py @@ -29,7 +29,6 @@ from kvmd.keymap import KEYMAP from kvmd.validators import ValidatorError from kvmd.validators.kvm import valid_atx_power_action from kvmd.validators.kvm import valid_atx_button -from kvmd.validators.kvm import valid_kvm_target from kvmd.validators.kvm import valid_log_seek from kvmd.validators.kvm import valid_stream_quality from kvmd.validators.kvm import valid_stream_fps @@ -64,18 +63,6 @@ def test_fail__valid_atx_button(arg: Any) -> None: # ===== [email protected]("arg", ["KVM ", "SERVER "]) -def test_ok__valid_kvm_target(arg: Any) -> None: - assert valid_kvm_target(arg) == arg.strip().lower() - - [email protected]("arg", ["test", "", None]) -def test_fail__valid_kvm_target(arg: Any) -> None: - with pytest.raises(ValidatorError): - print(valid_kvm_target(arg)) - - -# ===== @pytest.mark.parametrize("arg", ["0 ", 0, 1, 13]) def test_ok__valid_log_seek(arg: Any) -> None: value = valid_log_seek(arg) |