def test_fail__valid_stream_h264_bitrate(arg: Any) -> None: with pytest.raises(ValidatorError): print(valid_stream_h264_bitrate(arg))
def test_ok__valid_stream_h264_bitrate(arg: Any) -> None: value = valid_stream_h264_bitrate(arg) assert type(value) == int # pylint: disable=unidiomatic-typecheck assert value == int(str(arg).strip())