Example #1
0
 def testItShouldRemoveColourYellow(self):
     assert coloured_stream.remove_colors("this text is [color yellow]yellow[/color]") == "this text is yellow"
Example #2
0
 def testItShouldRemoveColourRed(self):
     assert coloured_stream.remove_colors("this text is [color red]red[/color]") == "this text is red"
Example #3
0
 def testItShouldRemoveColourGreen(self):
     assert coloured_stream.remove_colors("this text is [color green]green[/color]") == "this text is green"
Example #4
0
 def testItShouldRemoveColourPurple(self):
     assert coloured_stream.remove_colors("this text is [color purple]purple[/color]") == "this text is purple"
Example #5
0
 def testItShouldRemoveColourBlue(self):
     assert coloured_stream.remove_colors("this text is [color blue]blue[/color]") == "this text is blue"