Merge pull request #424 from Gluejar/gb_urls
fix broken test involving Google books cover urlpull/1/head
commit
e9f3632c4f
|
@ -426,7 +426,7 @@ class SearchTests(TestCase):
|
||||||
self.assertTrue(r.has_key('author'))
|
self.assertTrue(r.has_key('author'))
|
||||||
self.assertTrue(r.has_key('description'))
|
self.assertTrue(r.has_key('description'))
|
||||||
self.assertTrue(r.has_key('cover_image_thumbnail'))
|
self.assertTrue(r.has_key('cover_image_thumbnail'))
|
||||||
self.assertTrue(r['cover_image_thumbnail'].startswith('https'))
|
self.assertTrue(r['cover_image_thumbnail'].startswith('https') or r['cover_image_thumbnail'].startswith('http'))
|
||||||
self.assertTrue(r.has_key('publisher'))
|
self.assertTrue(r.has_key('publisher'))
|
||||||
self.assertTrue(r.has_key('isbn_13'))
|
self.assertTrue(r.has_key('isbn_13'))
|
||||||
self.assertTrue(r.has_key('googlebooks_id'))
|
self.assertTrue(r.has_key('googlebooks_id'))
|
||||||
|
|
Loading…
Reference in New Issue