@@ -223,6 +223,8 @@ def test_build_easyconfigs_in_parallel_gc3pie(self):
223
223
print ("GC3Pie not available, skipping test" )
224
224
return
225
225
226
+ self .allow_deprecated_behaviour ()
227
+
226
228
# put GC3Pie config in place to use local host and fork/exec
227
229
resourcedir = os .path .join (self .test_prefix , 'gc3pie' )
228
230
gc3pie_cfgfile = os .path .join (self .test_prefix , 'gc3pie_local.ini' )
@@ -262,7 +264,9 @@ def test_build_easyconfigs_in_parallel_gc3pie(self):
262
264
topdir = os .path .dirname (os .path .dirname (os .path .dirname (os .path .abspath (__file__ ))))
263
265
test_easyblocks_path = os .path .join (os .path .dirname (os .path .abspath (__file__ )), 'sandbox' )
264
266
cmd = "PYTHONPATH=%s:%s:$PYTHONPATH eb %%(spec)s -df" % (topdir , test_easyblocks_path )
265
- build_easyconfigs_in_parallel (cmd , ordered_ecs , prepare_first = False )
267
+
268
+ with self .mocked_stdout_stderr ():
269
+ build_easyconfigs_in_parallel (cmd , ordered_ecs , prepare_first = False )
266
270
267
271
toy_modfile = os .path .join (self .test_installpath , 'modules' , 'all' , 'toy' , '0.0' )
268
272
if get_module_syntax () == 'Lua' :
@@ -280,7 +284,8 @@ def test_build_easyconfigs_in_parallel_gc3pie(self):
280
284
ecs = resolve_dependencies (process_easyconfig (test_ecfile ), self .modtool )
281
285
282
286
error = "1 jobs failed: toy-1.2.3"
283
- self .assertErrorRegex (EasyBuildError , error , build_easyconfigs_in_parallel , cmd , ecs , prepare_first = False )
287
+ with self .mocked_stdout_stderr ():
288
+ self .assertErrorRegex (EasyBuildError , error , build_easyconfigs_in_parallel , cmd , ecs , prepare_first = False )
284
289
285
290
def test_submit_jobs (self ):
286
291
"""Test submit_jobs"""
0 commit comments