API is now pretty much tested.
[wolnelektury.git] / src / catalogue / fixtures / test-books.yaml
index ad76368..88dfccb 100644 (file)
@@ -1,3 +1,4 @@
+
 - model: catalogue.book
   pk: 1
   fields:
   fields:
     slug: grandchild
     title: Grandchild
+    preview: true
     sort_key: grandchild
     parent: 2
-    txt_file: txt/grandchild.txt
-    html_file: html/grandchild.html
-    fb2_file: fb2/grandchild.fb2
+    xml_file: secret/grandchild.xml
+    txt_file: secret/grandchild.txt
+    html_file: secret/grandchild.html
+    epub_file: secret/grandchild.epub
+    mobi_file: secret/grandchild.mobi
+    pdf_file: secret/grandchild.pdf
+    fb2_file: secret/grandchild.fb2
     created_at: "1970-01-01 0:0Z"
     changed_at: "1970-01-01 0:0Z"
 
     uploaded_at: "1970-01-03 0:0Z"
 
 - model: catalogue.fragment
-  id: 1
+  pk: 1
   fields:
     short_text: "Fragment"
     text: "A fragment"