Ejemplo n.º 1
0
 def test_tweet_full(self):
     self.assertEquals(
         get_command(r"#daisy forward"), "f")
Ejemplo n.º 2
0
 def test_tweet_full_extra_junk(self):
     self.assertEquals(
         get_command(r" junk   #daisy left"), "l")
Ejemplo n.º 3
0
 def test_tweet_short(self):
     self.assertEquals(
         get_command(r"#daisy r"), "r")
Ejemplo n.º 4
0
 def test_tweet_full_spacing(self):
     self.assertEquals(
         get_command(r"#daisy  back"), "b")