Esempio n. 1
0
 def test_guess_meme_image(self):
     self.assertEqual('success-kid', guess_meme_image('success'))
Esempio n. 2
0
 def test_handles_simple_typos(self):
     self.assertEqual('success-kid', guess_meme_image('success kyd'))
Esempio n. 3
0
 def test_handles_blank_image(self):
     for name in ['', ' ', 'blank']:
         self.assertEqual('blank-colored-background', guess_meme_image(name))
Esempio n. 4
0
 def test_guess_meme_image(self):
     self.assertEqual('success-kid', guess_meme_image('success'))