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