Пример #1
0
 def test_find(self):
     from clint.textui.colored import ColoredString
     new_str = ColoredString('blue', "hello world")
     output = new_str.find('h')
     self.assertEqual(output, 0)
Пример #2
0
 def test_find(self):
     from clint.textui.colored import ColoredString
     new_str = ColoredString('blue', "hello world")
     output = new_str.find('h')
     self.assertEqual(output, 0)
Пример #3
0
 def test_find(self):
     new_str = ColoredString('blue', "hello world")
     output = new_str.find('h')
     self.assertEqual(output, 0)