mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-26 01:50:34 +00:00
Test correctly adding goodreads isbns
This commit is contained in:
parent
1e2dca402b
commit
a9622942cd
1 changed files with 5 additions and 0 deletions
|
@ -52,6 +52,11 @@ class GoodreadsImport(TestCase):
|
|||
self.assertEqual(len(import_items), 3)
|
||||
self.assertEqual(import_items[0].index, 0)
|
||||
self.assertEqual(import_items[0].data["Book Id"], "42036538")
|
||||
self.assertEqual(
|
||||
import_items[0].normalized_data["isbn_13"], '=""9781250313195"'
|
||||
)
|
||||
self.assertEqual(import_items[0].normalized_data["isbn_10"], '=""1250313198"')
|
||||
|
||||
self.assertEqual(import_items[1].index, 1)
|
||||
self.assertEqual(import_items[1].data["Book Id"], "52691223")
|
||||
self.assertEqual(import_items[2].index, 2)
|
||||
|
|
Loading…
Reference in a new issue