Skip to content

Commit cb92566

Browse files
committed
Adapt tests
1 parent 78c3af4 commit cb92566

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
@@ -1773,7 +1773,7 @@ def test_external_dependencies(self):
17731773
write_file(toy_ec, ectxt + extraectxt)
17741774

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

@@ -1786,7 +1786,7 @@ def test_external_dependencies(self):
17861786
write_file(toy_ec, ectxt + extraectxt)
17871787

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

0 commit comments

Comments
 (0)