예제 #1
0
 def test_cover(self):
     self.assertEqual(Hentai.get_cover(self.test_reference1), self.test_response1.cover, msg=str(self.test_response1))
     self.assertEqual(Hentai.get_cover(self.test_reference2), self.test_response2.cover, msg=str(self.test_response2))
     self.assertEqual(Hentai.get_cover(self.test_reference3), self.test_response3.cover, msg=str(self.test_response3))
     self.assertEqual(Hentai.get_cover(self.test_reference4), self.test_response4.cover, msg=str(self.test_response4))
예제 #2
0
 def test_cover(self):
     self.assertEqual(Hentai.get_cover(self.test_reference1),
                      self.test_response1.cover,
                      msg=str(self.test_response1))