Update test case

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
Hugo van Kemenade 2021-08-24 16:08:31 +03:00
parent 9e08eb8f78
commit a0afe89990

View File

@ -195,7 +195,7 @@ def test_rounding_errors():
def test_color_too_long():
# Arrange
color_too_long = "hsl(" + "1" * 100 + ")"
color_too_long = "hsl(" + "1" * 40 + "," + "1" * 40 + "%," + "1" * 40 + "%)"
# Act / Assert
with pytest.raises(ValueError):