fix
[wolnelektury.git] / src / catalogue / fixtures / test-books.yaml
index 4c60775..6c24400 100644 (file)
@@ -1,3 +1,4 @@
+
 - model: catalogue.book
   pk: 1
   fields:
 - model: catalogue.book
   pk: 1
   fields:
     title: Grandchild
     sort_key: grandchild
     parent: 2
     title: Grandchild
     sort_key: grandchild
     parent: 2
+    xml_file: xml/grandchild.xml
     txt_file: txt/grandchild.txt
     html_file: html/grandchild.html
     txt_file: txt/grandchild.txt
     html_file: html/grandchild.html
+    epub_file: epub/grandchild.epub
+    mobi_file: mobi/grandchild.mobi
+    pdf_file: pdf/grandchild.pdf
     fb2_file: fb2/grandchild.fb2
     created_at: "1970-01-01 0:0Z"
     changed_at: "1970-01-01 0:0Z"
     fb2_file: fb2/grandchild.fb2
     created_at: "1970-01-01 0:0Z"
     changed_at: "1970-01-01 0:0Z"
     name: Parent Audiobook
     file: mp3/parent.mp3
     uploaded_at: "1970-01-03 0:0Z"
     name: Parent Audiobook
     file: mp3/parent.mp3
     uploaded_at: "1970-01-03 0:0Z"
-    extra_info: {"director_name": "Director", "artist_name": "Artist"}
+    extra_info: '{"director_name": "Director", "artist_name": "Artist"}'
 - model: catalogue.bookmedia
   fields:
     book: 1
 - model: catalogue.bookmedia
   fields:
     book: 1
     uploaded_at: "1970-01-03 0:0Z"
 
 - model: catalogue.fragment
     uploaded_at: "1970-01-03 0:0Z"
 
 - model: catalogue.fragment
-  id: 1
+  pk: 1
   fields:
     short_text: "Fragment"
     text: "A fragment"
   fields:
     short_text: "Fragment"
     text: "A fragment"