Fix Build Novel Project test on Ubuntu

This commit is contained in:
Veronica K. B. Olsen
2021-01-27 19:49:21 +01:00
parent 8715ab9322
commit d83352e16f
6 changed files with 8 additions and 5 deletions
@@ -5,7 +5,7 @@
<title>Lorem Ipsum</title>
</head>
<style>
body {font-family: 'Sans'; font-size: 12pt}
body {font-family: 'DejaVu Sans'; font-size: 11pt}
p {text-align: left;}
h1, h2 {color: rgb(66, 113, 174);}
h3, h4 {color: rgb(50, 50, 50);}
@@ -5,7 +5,7 @@
<title>Lorem Ipsum</title>
</head>
<style>
body {font-family: 'Sans'; font-size: 12pt}
body {font-family: 'DejaVu Sans'; font-size: 11pt}
p {text-align: justify;}
h1, h2 {color: rgb(66, 113, 174);}
h3, h4 {color: rgb(50, 50, 50);}
@@ -5,7 +5,7 @@
<title>Lorem Ipsum</title>
</head>
<style>
body {font-family: 'Sans'; font-size: 12pt}
body {font-family: 'DejaVu Sans'; font-size: 11pt}
p {text-align: justify;}
h1, h2 {color: rgb(66, 113, 174);}
h3, h4 {color: rgb(50, 50, 50);}
@@ -9,7 +9,7 @@
},
"text": {
"css": [
"body {font-family: 'Sans'; font-size: 12pt}",
"body {font-family: 'DejaVu Sans'; font-size: 11pt}",
"p {text-align: justify;}",
"h1, h2 {color: rgb(66, 113, 174);}",
"h3, h4 {color: rgb(50, 50, 50);}",
@@ -5,7 +5,7 @@
<title>Lorem Ipsum</title>
</head>
<style>
body {font-family: 'Sans'; font-size: 12pt}
body {font-family: 'DejaVu Sans'; font-size: 11pt}
p {text-align: justify;}
h1, h2 {color: rgb(66, 113, 174);}
h3, h4 {color: rgb(50, 50, 50);}
+3
View File
@@ -59,6 +59,9 @@ def testGuiBuild_Tool(qtbot, monkeypatch, nwGUI, nwLipsum, refDir, outDir):
nwBuild = getGuiItem("GuiBuildNovel")
assert isinstance(nwBuild, GuiBuildNovel)
nwBuild.textFont.setText("DejaVu Sans")
nwBuild.textSize.setValue(11)
# Default Settings
qtbot.mouseClick(nwBuild.buildNovel, Qt.LeftButton)