예제 #1
0
 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)
예제 #2
0
파일: tests.py 프로젝트: ahd985/ssv
 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)
예제 #3
0
 def test_validate_colors(self, arr_str):
     validate_colors(arr_str)
예제 #4
0
파일: tests.py 프로젝트: ahd985/ssv
 def test_validate_colors(self, arr_str):
     validate_colors(arr_str)