Don't overwrite reference config file

This commit is contained in:
Veronica K. B. Olsen
2019-05-18 15:07:34 +02:00
parent 2768c46976
commit 6cc2152e59
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -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)