File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,8 @@ def check_extra_options_format(extra_options):
127127 extra_options = exeb1 .extra_options ()
128128 check_extra_options_format (extra_options )
129129 self .assertTrue ('options' in extra_options )
130+ # Reporting test failure should work also for the extension EB
131+ self .assertRaises (EasyBuildError , exeb1 .report_test_failure , "Fails" )
130132
131133 # test extensioneasyblock, as easyblock
132134 exeb2 = ExtensionEasyBlock (ec )
@@ -135,6 +137,8 @@ def check_extra_options_format(extra_options):
135137 extra_options = exeb2 .extra_options ()
136138 check_extra_options_format (extra_options )
137139 self .assertTrue ('options' in extra_options )
140+ # Reporting test failure should work also for the extension EB
141+ self .assertRaises (EasyBuildError , exeb2 .report_test_failure , "Fails" )
138142
139143 class TestExtension (ExtensionEasyBlock ):
140144 @staticmethod
You can’t perform that action at this time.
0 commit comments