From 4e2a1fa2c5f544a51e60c22b0320772142f273b9 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" Date: Fri, 17 May 2019 11:09:11 +0200 Subject: [PATCH] Fixed a path bug ... --- tests/test_gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_gui.py b/tests/test_gui.py index 5f91550c..842158cc 100644 --- a/tests/test_gui.py +++ b/tests/test_gui.py @@ -103,9 +103,9 @@ def testMainWindows(qtbot, tmpdir): qtbot.wait(stepDelay) # Check the files - projFile = str(projDir.join("nwProject.nwx")) + projFile = path.join(projDir,"nwProject.nwx") assert cmpFiles(projFile, path.join(testRef,"gui_nwProject.nwx"), [2]) - sceneFile = str(projDir.join("data_3","1489056e0916_main.nwd")) + sceneFile = path.join(projDir,"data_3","1489056e0916_main.nwd") assert cmpFiles(sceneFile, path.join(testRef,"gui_1489056e0916_main.nwd")) # qtbot.stopForInteraction()