Merge pull request #248 from Gluejar/work_lang_fix
replace example book with one recognized now by Google Bookspull/1/head
commit
90a6cb33ca
|
@ -114,10 +114,10 @@ class BookLoaderTests(TestCase):
|
|||
w.save()
|
||||
e = models.Edition(title=w.title,work=w)
|
||||
e.save()
|
||||
models.Identifier(type='isbn', value='9780226032030', work=w, edition=e).save()
|
||||
models.Identifier(type='isbn', value='9780237540814', work=w, edition=e).save()
|
||||
bookloader.update_edition(e)
|
||||
self.assertEqual(e.work.language, 'en')
|
||||
self.assertEqual(e.title, 'Forbidden Journeys')
|
||||
self.assertEqual(e.title, 'Call of the Wild')
|
||||
|
||||
def test_double_add(self):
|
||||
bookloader.add_by_isbn('0441007465')
|
||||
|
|
Loading…
Reference in New Issue