Skip to content

Commit 35125ac

Browse files
committed
Adapt tests
1 parent 3058bfa commit 35125ac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/framework/hooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def run_hooks():
271271
"== Running pre-single_extension hook...",
272272
"this is run before installing an extension",
273273
"== Running fail hook...",
274-
"EasyBuild FAIL: 'oops'",
274+
"EasyBuild FAIL: oops",
275275
"== Running crash hook...",
276276
"EasyBuild CRASHED, oh no! => boom!",
277277
"== Running post-easyblock hook...",

test/framework/toy_build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@ def test_external_dependencies(self):
17781778
write_file(toy_ec, ectxt + extraectxt)
17791779

17801780
if isinstance(self.modtool, Lmod):
1781-
err_msg = r"Module command \\'.*load nosuchbuilddep/0.0.0\\' failed"
1781+
err_msg = r"Module command '.*load nosuchbuilddep/0.0.0' failed"
17821782
else:
17831783
err_msg = r"Unable to locate a modulefile for 'nosuchbuilddep/0.0.0'"
17841784

@@ -1791,7 +1791,7 @@ def test_external_dependencies(self):
17911791
write_file(toy_ec, ectxt + extraectxt)
17921792

17931793
if isinstance(self.modtool, Lmod):
1794-
err_msg = r"Module command \\'.*load nosuchmodule/1.2.3\\' failed"
1794+
err_msg = r"Module command '.*load nosuchmodule/1.2.3' failed"
17951795
else:
17961796
err_msg = r"Unable to locate a modulefile for 'nosuchmodule/1.2.3'"
17971797

0 commit comments

Comments
 (0)