From aee005787c1c1082e50224fc492409e49b60d389 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Tue, 24 Sep 2019 00:03:31 +0300 Subject: preparing to otg --- testenv/tests/validators/test_kvm.py | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'testenv/tests/validators/test_kvm.py') 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 @@ -63,18 +62,6 @@ def test_fail__valid_atx_button(arg: Any) -> None: print(valid_atx_button(arg)) -# ===== -@pytest.mark.parametrize("arg", ["KVM ", "SERVER "]) -def test_ok__valid_kvm_target(arg: Any) -> None: - assert valid_kvm_target(arg) == arg.strip().lower() - - -@pytest.mark.parametrize("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: -- cgit v1.2.3