summaryrefslogtreecommitdiff
path: root/testenv/tests/validators/test_kvm.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-07-13 04:52:19 +0300
committerDevaev Maxim <[email protected]>2019-07-13 04:52:19 +0300
commitad97aecaf4d043c59d018310b4d8f4852d30b6e0 (patch)
tree90f6fbcdacc9aefd54cd093a77d337f1fb4543c9 /testenv/tests/validators/test_kvm.py
parentdfe58d81efcc14b4ff8a3e6e2204bfdcce7a620b (diff)
new ustreamer and fps max
Diffstat (limited to 'testenv/tests/validators/test_kvm.py')
-rw-r--r--testenv/tests/validators/test_kvm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testenv/tests/validators/test_kvm.py b/testenv/tests/validators/test_kvm.py
index a15a3168..920dcb10 100644
--- a/testenv/tests/validators/test_kvm.py
+++ b/testenv/tests/validators/test_kvm.py
@@ -104,14 +104,14 @@ def test_fail__valid_stream_quality(arg: Any) -> None:
# =====
[email protected]("arg", ["1 ", 30])
[email protected]("arg", ["1 ", 120])
def test_ok__valid_stream_fps(arg: Any) -> None:
value = valid_stream_fps(arg)
assert type(value) == int # pylint: disable=unidiomatic-typecheck
assert value == int(str(arg).strip())
[email protected]("arg", ["test", "", None, 31, 1.1])
[email protected]("arg", ["test", "", None, 121, 1.1])
def test_fail__valid_stream_fps(arg: Any) -> None:
with pytest.raises(ValidatorError):
print(valid_stream_fps(arg))