示例#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)