Fix broken tests

This commit is contained in:
Veronica K. B. Olsen committed 2021-01-29 01:14:58 +01:00
1 parent 4c27d2600a
commit 8de0c55b68
4 files changed
+71 -9

No files matched your search

+4 -4
View File
@@ -42,21 +42,21 @@ logger = logging.getLogger(__name__)
# Translation map for item layouts
NOVEL_MAP = {
nwItemLayout.SCENE: {
"H1": nwItemLayout.PARTITION,
"H1": nwItemLayout.BOOK,
"H2": nwItemLayout.CHAPTER,
"H4": nwItemLayout.SCENE,
},
nwItemLayout.CHAPTER: {
"H1": nwItemLayout.PARTITION,
"H1": nwItemLayout.BOOK,
"H3": nwItemLayout.SCENE,
"H4": nwItemLayout.SCENE,
},
nwItemLayout.UNNUMBERED: {
"H1": nwItemLayout.PARTITION,
"H1": nwItemLayout.BOOK,
"H3": nwItemLayout.SCENE,
"H4": nwItemLayout.SCENE,
},
nwItemLayout.PARTITION: {
nwItemLayout.BOOK: {
"H2": nwItemLayout.CHAPTER,
"H3": nwItemLayout.SCENE,
"H4": nwItemLayout.SCENE,