summaryrefslogtreecommitdiff
path: root/testenv
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-09-24 00:03:31 +0300
committerDevaev Maxim <[email protected]>2019-09-24 00:03:31 +0300
commitaee005787c1c1082e50224fc492409e49b60d389 (patch)
treee531c4a616df4ebde6c69988e5a7c1bc21bf28df /testenv
parent661828502e7f9e3b8afcdff8def9678937de97a9 (diff)
preparing to otg
Diffstat (limited to 'testenv')
-rw-r--r--testenv/tests/validators/test_kvm.py13
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)