Пример #1
0
 def test_gets_single_image_url(self):
     tmp = imgur.find_img_urls('http://i.imgur.com/pY3JZsH.jpg')
     self.assertEqual(['http://i.imgur.com/pY3JZsH.jpg'], tmp)
Пример #2
0
 def test_gets_single_image_url(self):
     tmp = imgur.find_img_urls('http://i.imgur.com/pY3JZsH.jpg')
     self.assertEqual(['http://i.imgur.com/pY3JZsH.jpg'], tmp)
Пример #3
0
 def test_gets_gallery_image_url(self):
     tmp = imgur.find_img_urls('http://imgur.com/gallery/pY3JZsH')
     self.assertEqual(['http://i.imgur.com/pY3JZsH.jpg'], tmp)
Пример #4
0
 def test_gets_gallery_image_url(self):
     tmp = imgur.find_img_urls('http://imgur.com/gallery/pY3JZsH')
     self.assertEqual(['http://i.imgur.com/pY3JZsH.jpg'], tmp)