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