Fixed tests

This commit is contained in:
Veronica K. B. Olsen
2019-05-25 23:34:54 +02:00
parent 49ea321d92
commit 6530a162fb
10 changed files with 23 additions and 15 deletions
+3 -3
View File
@@ -155,7 +155,7 @@ def testMainWindows(qtbot, nwTempGUI, nwRef):
sceneFile = path.join(nwTempGUI,"data_3","1489056e0916_main.nwd")
assert cmpFiles(sceneFile, path.join(nwRef,"gui","1_1489056e0916_main.nwd"))
nwGUI.closeMain(True)
nwGUI.closeMain()
# qtbot.stopForInteraction()
@pytest.mark.gui
@@ -217,7 +217,7 @@ def testProjectEditor(qtbot, nwTempGUI, nwRef):
projFile = path.join(nwTempGUI,"nwProject.nwx")
assert cmpFiles(projFile, path.join(nwRef,"gui","2_nwProject.nwx"), [2])
nwGUI.closeMain(True)
nwGUI.closeMain()
# qtbot.stopForInteraction()
@pytest.mark.gui
@@ -263,5 +263,5 @@ def testItemEditor(qtbot, nwTempGUI, nwRef):
projFile = path.join(nwTempGUI,"nwProject.nwx")
assert cmpFiles(projFile, path.join(nwRef,"gui","3_nwProject.nwx"), [2])
nwGUI.closeMain(True)
nwGUI.closeMain()
# qtbot.stopForInteraction()