def test_validate_colors_fail(self, arr_str): arr_str[0] = 'RGB(1,1,1)' arr_str[1] = 'NXSKJNLVD' with pytest.raises(ValueError): validate_colors(arr_str)
def test_validate_colors(self, arr_str): validate_colors(arr_str)