Пример #1
0
 def test_tweet_full(self):
     self.assertEquals(
         get_command(r"#daisy forward"), "f")
Пример #2
0
 def test_tweet_full_extra_junk(self):
     self.assertEquals(
         get_command(r" junk   #daisy left"), "l")
Пример #3
0
 def test_tweet_short(self):
     self.assertEquals(
         get_command(r"#daisy r"), "r")
Пример #4
0
 def test_tweet_full_spacing(self):
     self.assertEquals(
         get_command(r"#daisy  back"), "b")