Re [#108339512] (https://www.pivotaltracker.com/story/show/108339512) -- for now
just mark the failing Google Books API tests as expected failures.pull/1/head
parent
00853ebd61
commit
d417eeec2d
|
@ -97,6 +97,7 @@ class BookLoaderTests(TestCase):
|
||||||
self.assertFalse(bookloader.valid_subject('A, valid, suj\xc3t, '))
|
self.assertFalse(bookloader.valid_subject('A, valid, suj\xc3t, '))
|
||||||
self.assertFalse(bookloader.valid_subject('A valid suj\xc3t \x01'))
|
self.assertFalse(bookloader.valid_subject('A valid suj\xc3t \x01'))
|
||||||
|
|
||||||
|
@unittest.expectedFailure
|
||||||
def test_add_by_isbn(self):
|
def test_add_by_isbn(self):
|
||||||
# edition
|
# edition
|
||||||
edition = bookloader.add_by_isbn('0441007465')
|
edition = bookloader.add_by_isbn('0441007465')
|
||||||
|
@ -133,7 +134,7 @@ class BookLoaderTests(TestCase):
|
||||||
edition = bookloader.add_by_isbn('9789571349268')
|
edition = bookloader.add_by_isbn('9789571349268')
|
||||||
self.assertEqual(edition.work.language, 'zh-TW')
|
self.assertEqual(edition.work.language, 'zh-TW')
|
||||||
|
|
||||||
# @unittest.expectedFailure
|
@unittest.expectedFailure
|
||||||
def test_update_edition(self):
|
def test_update_edition(self):
|
||||||
w = models.Work(title='silly title', language='xx')
|
w = models.Work(title='silly title', language='xx')
|
||||||
w.save()
|
w.save()
|
||||||
|
|
Loading…
Reference in New Issue