Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/framework/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -5621,7 +5621,7 @@ def test_easystack_basic(self):
toy_easystack = os.path.join(topdir, 'easystacks', 'test_easystack_basic.yaml')

args = ['--easystack', toy_easystack, '--stop', '--debug', '--experimental']
stdout, err = self.eb_main(args, do_build=True, return_error=True)
stdout = self.eb_main(args, do_build=True, raise_error=True)
patterns = [
r"[\S\s]*INFO Building from easystack:[\S\s]*",
r"[\S\s]*DEBUG EasyStack parsed\. Proceeding to install these Easyconfigs:.*?[\n]"
Expand All @@ -5633,7 +5633,7 @@ def test_easystack_basic(self):
]
for pattern in patterns:
regex = re.compile(pattern)
self.assertTrue(regex.match(stdout) is not None)
self.assertTrue(regex.match(stdout), "Pattern '%s' should be found in: %s" % (regex.pattern, stdout))

def test_easystack_wrong_structure(self):
"""Test for --easystack <easystack.yaml> when yaml easystack has wrong structure"""
Expand Down