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