示例#1
0
 def test_upload_date(self):
     self.assertEqual(Hentai.get_upload_date(self.test_reference1), self.test_response1.upload_date, msg=str(self.test_response1))
     self.assertEqual(Hentai.get_upload_date(self.test_reference2), self.test_response2.upload_date, msg=str(self.test_response2))
     self.assertEqual(Hentai.get_upload_date(self.test_reference3), self.test_response3.upload_date, msg=str(self.test_response3))
     self.assertEqual(Hentai.get_upload_date(self.test_reference4), self.test_response4.upload_date, msg=str(self.test_response4))
示例#2
0
 def test_upload_date(self):
     self.assertEqual(Hentai.get_upload_date(self.test_reference1),
                      self.test_response1.upload_date,
                      msg=str(self.test_response1))