Skip to content

Commit

Permalink
fix test_easyblock in test.framework.easyblock with usable EasyBlock …
Browse files Browse the repository at this point in the history
…class
  • Loading branch information
lexming committed Jun 11, 2024
1 parent b6d9b3b commit cea4bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/framework/easyblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def check_extra_options_format(extra_options):
eb = EasyBlock(ec)
self.assertEqual(eb.cfg['name'], name)
self.assertEqual(eb.cfg['version'], version)
self.assertRaises(NotImplementedError, eb.run_all_steps, True)
self.assertErrorRegex(EasyBuildError, "No default extension class", eb.run_all_steps, True)
check_extra_options_format(eb.extra_options())
sys.stdout.close()
sys.stdout = stdoutorig
Expand Down

0 comments on commit cea4bcd

Please sign in to comment.