diff options
Diffstat (limited to 'testenv/tests/validators/test_kvm.py')
-rw-r--r-- | testenv/tests/validators/test_kvm.py | 4 |
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)) |