Fix Build Novel Project test on Ubuntu
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<title>Lorem Ipsum</title>
|
<title>Lorem Ipsum</title>
|
||||||
</head>
|
</head>
|
||||||
<style>
|
<style>
|
||||||
body {font-family: 'Sans'; font-size: 12pt}
|
body {font-family: 'DejaVu Sans'; font-size: 11pt}
|
||||||
p {text-align: left;}
|
p {text-align: left;}
|
||||||
h1, h2 {color: rgb(66, 113, 174);}
|
h1, h2 {color: rgb(66, 113, 174);}
|
||||||
h3, h4 {color: rgb(50, 50, 50);}
|
h3, h4 {color: rgb(50, 50, 50);}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<title>Lorem Ipsum</title>
|
<title>Lorem Ipsum</title>
|
||||||
</head>
|
</head>
|
||||||
<style>
|
<style>
|
||||||
body {font-family: 'Sans'; font-size: 12pt}
|
body {font-family: 'DejaVu Sans'; font-size: 11pt}
|
||||||
p {text-align: justify;}
|
p {text-align: justify;}
|
||||||
h1, h2 {color: rgb(66, 113, 174);}
|
h1, h2 {color: rgb(66, 113, 174);}
|
||||||
h3, h4 {color: rgb(50, 50, 50);}
|
h3, h4 {color: rgb(50, 50, 50);}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<title>Lorem Ipsum</title>
|
<title>Lorem Ipsum</title>
|
||||||
</head>
|
</head>
|
||||||
<style>
|
<style>
|
||||||
body {font-family: 'Sans'; font-size: 12pt}
|
body {font-family: 'DejaVu Sans'; font-size: 11pt}
|
||||||
p {text-align: justify;}
|
p {text-align: justify;}
|
||||||
h1, h2 {color: rgb(66, 113, 174);}
|
h1, h2 {color: rgb(66, 113, 174);}
|
||||||
h3, h4 {color: rgb(50, 50, 50);}
|
h3, h4 {color: rgb(50, 50, 50);}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
},
|
},
|
||||||
"text": {
|
"text": {
|
||||||
"css": [
|
"css": [
|
||||||
"body {font-family: 'Sans'; font-size: 12pt}",
|
"body {font-family: 'DejaVu Sans'; font-size: 11pt}",
|
||||||
"p {text-align: justify;}",
|
"p {text-align: justify;}",
|
||||||
"h1, h2 {color: rgb(66, 113, 174);}",
|
"h1, h2 {color: rgb(66, 113, 174);}",
|
||||||
"h3, h4 {color: rgb(50, 50, 50);}",
|
"h3, h4 {color: rgb(50, 50, 50);}",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<title>Lorem Ipsum</title>
|
<title>Lorem Ipsum</title>
|
||||||
</head>
|
</head>
|
||||||
<style>
|
<style>
|
||||||
body {font-family: 'Sans'; font-size: 12pt}
|
body {font-family: 'DejaVu Sans'; font-size: 11pt}
|
||||||
p {text-align: justify;}
|
p {text-align: justify;}
|
||||||
h1, h2 {color: rgb(66, 113, 174);}
|
h1, h2 {color: rgb(66, 113, 174);}
|
||||||
h3, h4 {color: rgb(50, 50, 50);}
|
h3, h4 {color: rgb(50, 50, 50);}
|
||||||
|
|||||||
@@ -59,6 +59,9 @@ def testGuiBuild_Tool(qtbot, monkeypatch, nwGUI, nwLipsum, refDir, outDir):
|
|||||||
nwBuild = getGuiItem("GuiBuildNovel")
|
nwBuild = getGuiItem("GuiBuildNovel")
|
||||||
assert isinstance(nwBuild, GuiBuildNovel)
|
assert isinstance(nwBuild, GuiBuildNovel)
|
||||||
|
|
||||||
|
nwBuild.textFont.setText("DejaVu Sans")
|
||||||
|
nwBuild.textSize.setValue(11)
|
||||||
|
|
||||||
# Default Settings
|
# Default Settings
|
||||||
qtbot.mouseClick(nwBuild.buildNovel, Qt.LeftButton)
|
qtbot.mouseClick(nwBuild.buildNovel, Qt.LeftButton)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user