Updated tests

This commit is contained in:
Veronica K. B. Olsen
2019-06-27 20:39:34 +02:00
parent f11cc452d8
commit 4cf6855c22
8 changed files with 15 additions and 3 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
<?xml version='1.0' encoding='utf-8'?>
<novelWriterXML appVersion="0.1.4" fileVersion="1.0" timeStamp="2019-06-08 20:45:49">
<novelWriterXML appVersion="0.1.5" fileVersion="1.0" timeStamp="2019-06-27 20:30:38">
<project>
<name></name>
<title></title>
<backup>True</backup>
</project>
<settings>
<spellCheck>False</spellCheck>
+2 -1
View File
@@ -1,8 +1,9 @@
<?xml version='1.0' encoding='utf-8'?>
<novelWriterXML appVersion="0.1.4" fileVersion="1.0" timeStamp="2019-06-08 20:46:34">
<novelWriterXML appVersion="0.1.5" fileVersion="1.0" timeStamp="2019-06-27 20:31:37">
<project>
<name></name>
<title></title>
<backup>True</backup>
</project>
<settings>
<spellCheck>True</spellCheck>
+1
View File
@@ -5,6 +5,7 @@
<title>Project Title</title>
<author>Jane Doe</author>
<author>John Doh</author>
<backup>True</backup>
</project>
<settings>
<spellCheck>False</spellCheck>
+1
View File
@@ -3,6 +3,7 @@
<project>
<name></name>
<title></title>
<backup>True</backup>
</project>
<settings>
<spellCheck>False</spellCheck>
+6 -1
View File
@@ -1,5 +1,5 @@
[Main]
timestamp = 2019-06-15 23:10:43
timestamp = 2019-06-27 20:26:43
theme = default
syntax = default_light
@@ -32,6 +32,11 @@ fmtsinglequote = ,
fmtdoublequote = “, ”
spellcheck = en_GB
[Backup]
backuppath =
backuponclose = False
askbeforebackup = True
[Path]
recent0 =
recent1 =
+1
View File
@@ -3,6 +3,7 @@
<project>
<name></name>
<title></title>
<backup>True</backup>
</project>
<settings>
<spellCheck>False</spellCheck>
+1
View File
@@ -3,6 +3,7 @@
<project>
<name></name>
<title></title>
<backup>True</backup>
</project>
<settings>
<spellCheck>False</spellCheck>
+1
View File
@@ -287,6 +287,7 @@ def testProjectEditor(qtbot, nwTempGUI, nwRef):
# Create new, save, open project
nwGUI.theProject.handleSeed = 42
assert nwGUI.newProject(nwTempGUI, True)
nwGUI.mainConf.backupPath = nwTempGUI
projEdit = GuiProjectEditor(nwGUI, nwGUI.theProject)
qtbot.addWidget(projEdit)