Fixed tests

This commit is contained in:
Veronica K. B. Olsen
2020-05-28 19:10:33 +02:00
parent 7373f9636b
commit 18132277c3
5 changed files with 8 additions and 8 deletions
+8 -8
View File
@@ -237,14 +237,14 @@ def testMainWindows(qtbot, nwTempGUI, nwRef, nwTemp):
# Check the files
refFile = path.join(nwTempGUI,"nwProject.nwx")
assert cmpFiles(refFile, path.join(nwRef,"gui","1_nwProject.nwx"), [2])
refFile = path.join(nwTempGUI,"data_0","e17daca5f3e1_main.nwd")
assert cmpFiles(refFile, path.join(nwRef,"gui","1_e17daca5f3e1_main.nwd"))
refFile = path.join(nwTempGUI,"data_9","8010bd9270f9_main.nwd")
assert cmpFiles(refFile, path.join(nwRef,"gui","1_8010bd9270f9_main.nwd"))
refFile = path.join(nwTempGUI,"data_3","1489056e0916_main.nwd")
assert cmpFiles(refFile, path.join(nwRef,"gui","1_1489056e0916_main.nwd"))
refFile = path.join(nwTempGUI,"data_1","a6562590ef19_main.nwd")
assert cmpFiles(refFile, path.join(nwRef,"gui","1_a6562590ef19_main.nwd"))
refFile = path.join(nwTempGUI,"content","0e17daca5f3e1.nwd")
assert cmpFiles(refFile, path.join(nwRef,"gui","1_0e17daca5f3e1.nwd"))
refFile = path.join(nwTempGUI,"content","98010bd9270f9.nwd")
assert cmpFiles(refFile, path.join(nwRef,"gui","1_98010bd9270f9.nwd"))
refFile = path.join(nwTempGUI,"content","31489056e0916.nwd")
assert cmpFiles(refFile, path.join(nwRef,"gui","1_31489056e0916.nwd"))
refFile = path.join(nwTempGUI,"content","1a6562590ef19.nwd")
assert cmpFiles(refFile, path.join(nwRef,"gui","1_1a6562590ef19.nwd"))
nwGUI.closeMain()
# qtbot.stopForInteraction()