Fixed tests
This commit is contained in:
+8
-8
@@ -237,14 +237,14 @@ def testMainWindows(qtbot, nwTempGUI, nwRef, nwTemp):
|
|||||||
# Check the files
|
# Check the files
|
||||||
refFile = path.join(nwTempGUI,"nwProject.nwx")
|
refFile = path.join(nwTempGUI,"nwProject.nwx")
|
||||||
assert cmpFiles(refFile, path.join(nwRef,"gui","1_nwProject.nwx"), [2])
|
assert cmpFiles(refFile, path.join(nwRef,"gui","1_nwProject.nwx"), [2])
|
||||||
refFile = path.join(nwTempGUI,"data_0","e17daca5f3e1_main.nwd")
|
refFile = path.join(nwTempGUI,"content","0e17daca5f3e1.nwd")
|
||||||
assert cmpFiles(refFile, path.join(nwRef,"gui","1_e17daca5f3e1_main.nwd"))
|
assert cmpFiles(refFile, path.join(nwRef,"gui","1_0e17daca5f3e1.nwd"))
|
||||||
refFile = path.join(nwTempGUI,"data_9","8010bd9270f9_main.nwd")
|
refFile = path.join(nwTempGUI,"content","98010bd9270f9.nwd")
|
||||||
assert cmpFiles(refFile, path.join(nwRef,"gui","1_8010bd9270f9_main.nwd"))
|
assert cmpFiles(refFile, path.join(nwRef,"gui","1_98010bd9270f9.nwd"))
|
||||||
refFile = path.join(nwTempGUI,"data_3","1489056e0916_main.nwd")
|
refFile = path.join(nwTempGUI,"content","31489056e0916.nwd")
|
||||||
assert cmpFiles(refFile, path.join(nwRef,"gui","1_1489056e0916_main.nwd"))
|
assert cmpFiles(refFile, path.join(nwRef,"gui","1_31489056e0916.nwd"))
|
||||||
refFile = path.join(nwTempGUI,"data_1","a6562590ef19_main.nwd")
|
refFile = path.join(nwTempGUI,"content","1a6562590ef19.nwd")
|
||||||
assert cmpFiles(refFile, path.join(nwRef,"gui","1_a6562590ef19_main.nwd"))
|
assert cmpFiles(refFile, path.join(nwRef,"gui","1_1a6562590ef19.nwd"))
|
||||||
|
|
||||||
nwGUI.closeMain()
|
nwGUI.closeMain()
|
||||||
# qtbot.stopForInteraction()
|
# qtbot.stopForInteraction()
|
||||||
|
|||||||
Reference in New Issue
Block a user