Skip to content

Commit dd9da09

Browse files
committed
Adapt tests
1 parent 7ecf953 commit dd9da09

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
@@ -1775,7 +1775,7 @@ def test_external_dependencies(self):
17751775
write_file(toy_ec, ectxt + extraectxt)
17761776

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

@@ -1788,7 +1788,7 @@ def test_external_dependencies(self):
17881788
write_file(toy_ec, ectxt + extraectxt)
17891789

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

0 commit comments

Comments
 (0)