Skip to content

Commit bd183b3

Browse files
committed
set ext_defaultclass in test_extensions_sanity_check
1 parent 7b0b55e commit bd183b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/framework/easyblock.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2522,6 +2522,7 @@ def test_extensions_sanity_check(self):
25222522
exts_list = toy_ec['exts_list']
25232523
exts_list[-1][2]['exts_filter'] = ("thisshouldfail", '')
25242524
toy_ec['exts_list'] = exts_list
2525+
toy_ec['exts_defaultclass'] = 'DummyExtension'
25252526

25262527
eb = EB_toy(toy_ec)
25272528
eb.silent = True
@@ -2536,6 +2537,7 @@ def test_extensions_sanity_check(self):
25362537
# sanity check commands are checked after checking sanity check paths, so this should work
25372538
toy_ec = EasyConfig(toy_ec_fn)
25382539
toy_ec.update('sanity_check_commands', [("%(installdir)s/bin/toy && rm %(installdir)s/bin/toy", '')])
2540+
toy_ec['exts_defaultclass'] = 'DummyExtension'
25392541
eb = EB_toy(toy_ec)
25402542
eb.silent = True
25412543
with self.mocked_stdout_stderr():

0 commit comments

Comments
 (0)