Пример #1
0
 def test_nextNotInList(self):
     color.blue("test here baby")
     string = '/fildsdfse_2_Path:12'
     data = ['/filePath:6', '/file_2_Path:9', '/file_3_Path:3']
     result = next.next(data, string)
     expected = '/file_3_Path:3'
     self.assertEqual (result, expected)     
Пример #2
0
 def test_testName4(self):
     color.blue("test here baby")
     string = '/file_3_Path:5'
     data = ['/filePath:6', '/file_2_Path:9', '/file_3_Path:3']
     result = next.next(data, string)
     expected = '/file_3_Path:3'
     self.assertEqual (result, expected)