[#54240150] Changed ISBN of the Chinese book in https://github.com/Gluejar/regluit/blob/master/core/tests.py#L95 because old ISBN no longer in Google Book

pull/1/head
Raymond Yee 2013-07-29 14:49:18 -07:00
parent 75fa4d5bf6
commit 0b0bd9c41f
1 changed files with 3 additions and 1 deletions

View File

@ -91,7 +91,9 @@ class BookLoaderTests(TestCase):
edition.set_publisher(u'Penguin') edition.set_publisher(u'Penguin')
self.assertEqual(edition.publisher, u'test publisher name') # Penguin has been aliased self.assertEqual(edition.publisher, u'test publisher name') # Penguin has been aliased
# locale in language # locale in language
edition = bookloader.add_by_isbn('9787500676911') # Obama Dreams from My Father, Chinese edition
# http://www.worldcat.org/title/oubama-de-meng-xiang-zhi-lu-yi-fu-zhi-ming/oclc/272997721&referer=brief_results
edition = bookloader.add_by_isbn('9789571349268')
self.assertEqual(edition.work.language, 'zh') self.assertEqual(edition.work.language, 'zh')
# @unittest.expectedFailure # @unittest.expectedFailure