def testPixivImageBookmarkMember(self): # print('\nTesting PixivImageBookmark') p = open('./test/test-image-bookmark-member.htm', 'r') page = BeautifulSoup(p.read()) result = PixivBookmark.parseImageBookmark(page) self.assertEqual(len(result), 20)
def testPixivImageBookmarkMember(self): # print '\nTesting PixivImageBookmark' p = open('./test/test-image-bookmark-member.htm', 'r') page = BeautifulSoup(p.read()) result = PixivBookmark.parseImageBookmark(page) self.assertEqual(len(result), 20)
def testPixivImageBookmark(self): # print('\nTesting PixivImageBookmark') p = open('./test/test-image-bookmark.htm', 'r') page = BeautifulSoup(p.read()) result = PixivBookmark.parseImageBookmark(page) self.assertEqual(len(result), 20) self.assertTrue(35303260 in result) self.assertTrue(28629066 in result) self.assertTrue(27249307 in result) self.assertTrue(30119925 in result)
def testPixivImageBookmarkMember(self): #print '\nTesting PixivImageBookmark' p = open('./test/test-image-bookmark-member.htm', 'r') page = BeautifulSoup(p.read()) result = PixivBookmark.parseImageBookmark(page) self.assertEqual(len(result), 20) self.assertTrue(51823321 in result) self.assertTrue(42934821 in result) self.assertTrue(30431160 in result) self.assertTrue(44328684 in result)
def testPixivImageBookmark(self): #print '\nTesting PixivImageBookmark' p = open('./test/test-image-bookmark.htm', 'r') page = BeautifulSoup(p.read()) result = PixivBookmark.parseImageBookmark(page) self.assertEqual(len(result), 20) self.assertTrue(35303260 in result) self.assertTrue(28629066 in result) self.assertTrue(27249307 in result) self.assertTrue(30119925 in result)
def testPixivImageBookmark(self): #print '\nTesting PixivImageBookmark' p = open('./test/test-image-bookmark.htm', 'r') page = BeautifulSoup(p.read()) result = PixivBookmark.parseImageBookmark(page) self.assertEqual(len(result), 4) self.assertEqual(result[0], 28370430) self.assertEqual(result[1], 23353599) self.assertEqual(result[2], 27249307) self.assertEqual(result[3], 22814356)