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