fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing content type for text.
[wolnelektury.git]
/
src
/
catalogue
/
fixtures
/
test-books.yaml
diff --git
a/src/catalogue/fixtures/test-books.yaml
b/src/catalogue/fixtures/test-books.yaml
index
4c60775
..
6c24400
100644
(file)
--- a/
src/catalogue/fixtures/test-books.yaml
+++ b/
src/catalogue/fixtures/test-books.yaml
@@
-1,3
+1,4
@@
+
- model: catalogue.book
pk: 1
fields:
- model: catalogue.book
pk: 1
fields:
@@
-33,8
+34,12
@@
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"
@@
-124,7
+129,7
@@
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
@@
-134,7
+139,7
@@
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"