Don't overwrite reference config file
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
[Main]
|
||||
timestamp = 2019-05-18 15:02:22
|
||||
timestamp = 2019-05-18 15:06:44
|
||||
|
||||
[Sizes]
|
||||
geometry = 1100, 650
|
||||
treecols = 120, 30, 129
|
||||
mainpane = 299, 797
|
||||
treecols = 120, 30, 50
|
||||
mainpane = 300, 800
|
||||
|
||||
[Project]
|
||||
autosaveproject = 60
|
||||
@@ -25,7 +25,7 @@ repdots = True
|
||||
spellcheck = en_GB
|
||||
|
||||
[Path]
|
||||
recent0 = /home/vkbo/Code/novelWriter/tests/temp/gui
|
||||
recent0 =
|
||||
recent1 =
|
||||
recent2 =
|
||||
recent3 =
|
||||
|
||||
+3
-3
@@ -17,7 +17,7 @@ stepDelay = 50
|
||||
|
||||
@pytest.mark.gui
|
||||
def testMainWindows(qtbot, nwTempGUI, nwRef):
|
||||
nwGUI = nw.main(["--testmode","--config=%s" % nwRef])
|
||||
nwGUI = nw.main(["--testmode","--config=%s" % nwTempGUI])
|
||||
qtbot.addWidget(nwGUI)
|
||||
nwGUI.show()
|
||||
qtbot.waitForWindowShown(nwGUI)
|
||||
@@ -113,7 +113,7 @@ def testMainWindows(qtbot, nwTempGUI, nwRef):
|
||||
|
||||
@pytest.mark.gui
|
||||
def testProjectEditor(qtbot, nwTempGUI, nwRef):
|
||||
nwGUI = nw.main(["--testmode","--config=%s" % nwRef])
|
||||
nwGUI = nw.main(["--testmode","--config=%s" % nwTempGUI])
|
||||
qtbot.addWidget(nwGUI)
|
||||
nwGUI.show()
|
||||
qtbot.waitForWindowShown(nwGUI)
|
||||
@@ -163,7 +163,7 @@ def testProjectEditor(qtbot, nwTempGUI, nwRef):
|
||||
|
||||
@pytest.mark.gui
|
||||
def testItemEditor(qtbot, nwTempGUI, nwRef):
|
||||
nwGUI = nw.main(["--testmode","--config=%s" % nwRef])
|
||||
nwGUI = nw.main(["--testmode","--config=%s" % nwTempGUI])
|
||||
qtbot.addWidget(nwGUI)
|
||||
nwGUI.show()
|
||||
qtbot.waitForWindowShown(nwGUI)
|
||||
|
||||
Reference in New Issue
Block a user