File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 4444from easybuild .base import fancylogger
4545from easybuild .framework .easyblock import EasyBlock , get_easyblock_instance
4646from easybuild .framework .easyconfig import CUSTOM
47- from easybuild .framework .easyconfig .easyconfig import EasyConfig
47+ from easybuild .framework .easyconfig .easyconfig import EasyConfig , ITERATE_OPTIONS
4848from easybuild .framework .easyconfig .tools import avail_easyblocks , process_easyconfig
4949from easybuild .framework .extensioneasyblock import ExtensionEasyBlock
5050from easybuild .tools import LooseVersion , config
@@ -1173,7 +1173,9 @@ def test_handle_iterate_opts(self):
11731173 self .assertEqual (eb .cfg .iterate_options , [])
11741174 self .assertEqual (eb .cfg ['configopts' ], ["--opt1 --anotheropt" , "--opt2" , "--opt3 --optbis" ])
11751175
1176- expected_iter_opts = {'configopts' : ["--opt1 --anotheropt" , "--opt2" , "--opt3 --optbis" ]}
1176+ expected_iter_opts = dict .fromkeys (ITERATE_OPTIONS , "" )
1177+ expected_iter_opts ['builddependencies' ] = []
1178+ expected_iter_opts ['configopts' ] = ["--opt1 --anotheropt" , "--opt2" , "--opt3 --optbis" ]
11771179
11781180 # once iteration mode is set, we're still in iteration #0
11791181 self .mock_stdout (True )
You can’t perform that action at this time.
0 commit comments