Пример #1
0
 def test_split(self):
     from clint.textui.colored import ColoredString
     new_str = ColoredString('red', "hello world")
     output = new_str.split()
     assert output[0].s == "hello"
Пример #2
0
 def test_split(self):
     from clint.textui.colored import ColoredString
     new_str = ColoredString('red', "hello world")
     output = new_str.split()
     assert output[0].s == "hello"
Пример #3
0
 def test_split(self):
     new_str = ColoredString('red', "hello world")
     output = new_str.split()
     assert output[0].s == "hello"