Revert changes to default book

These changes were introduced by mistake in my previous commit.
This commit is contained in:
Carlos Camara 2024-01-04 11:33:26 +01:00
parent 30c9ec9611
commit ebcc81dd73

View file

@ -37,9 +37,7 @@ class ExportViews(TestCase):
remote_id="https://example.com/book/1", remote_id="https://example.com/book/1",
parent_work=self.work, parent_work=self.work,
isbn_13="9781234567890", isbn_13="9781234567890",
bnf_id="beep", bnf_id="beep"
start_date="2023-01-04",
finish_date="2024-01-04"
) )
def setUp(self): def setUp(self):
@ -70,5 +68,5 @@ class ExportViews(TestCase):
export.content, export.content,
b"title,author_text,remote_id,openlibrary_key,inventaire_id,librarything_key,goodreads_key,bnf_id,viaf,wikidata,asin,aasin,isfdb,isbn_10,isbn_13,oclc_number,start_date,finish_date,stopped_date,rating,review_name,review_cw,review_content\r\nTest Book,," b"title,author_text,remote_id,openlibrary_key,inventaire_id,librarything_key,goodreads_key,bnf_id,viaf,wikidata,asin,aasin,isfdb,isbn_10,isbn_13,oclc_number,start_date,finish_date,stopped_date,rating,review_name,review_cw,review_content\r\nTest Book,,"
+ self.book.remote_id.encode("utf-8") + self.book.remote_id.encode("utf-8")
+ b",,,,,beep,,,,,,123456789X,9781234567890,,,2023-01-04,2024-01-04,,,,\r\n", + b",,,,,beep,,,,,,123456789X,9781234567890,,,,,,,,\r\n",
) )