Merge pull request #424 from Gluejar/gb_urls

fix broken test involving Google books cover url
pull/1/head
Raymond Yee 2014-12-08 10:44:42 -08:00
commit e9f3632c4f
1 changed files with 1 additions and 1 deletions

View File

@ -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'))