def test_get_ffmpeg_quality_bad_range(in_quality): with pytest.raises(ValueError): get_ffmpeg_quality(in_quality)
def test_get_ffmpeg_quality(in_quality, out_quality): assert get_ffmpeg_quality(in_quality) == out_quality