From 7ff65760c87313ca8e5ce274c92689b9ba87ecf9 Mon Sep 17 00:00:00 2001 From: "Mads M. Pedersen" <mmpe@dtu.dk> Date: Tue, 10 Oct 2017 11:15:45 +0200 Subject: [PATCH] fix another failing test line --- wetb/hawc2/tests/test_htc_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wetb/hawc2/tests/test_htc_file.py b/wetb/hawc2/tests/test_htc_file.py index f69de15..6b9caa9 100644 --- a/wetb/hawc2/tests/test_htc_file.py +++ b/wetb/hawc2/tests/test_htc_file.py @@ -113,7 +113,7 @@ class TestHtcFile(unittest.TestCase): self.assertEqual(htcfile.output.filename[0], './res/mytest') htcfile.set_name("mytest", 'subfolder') - self.assertEqual(os.path.relpath(htcfile.filename, self.testfilepath), r'..\htc\subfolder\mytest.htc') + self.assertEqual(os.path.relpath(htcfile.filename, self.testfilepath).replace("\\","/"), r'../htc/subfolder/mytest.htc') self.assertEqual(htcfile.simulation.logfile[0], './log/subfolder/mytest.log') self.assertEqual(htcfile.output.filename[0], './res/subfolder/mytest') -- GitLab