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 @@ -353,7 +353,9 @@ def test_skip_test_step(self):
353353 '--force' ,
354354 '--debug' ,
355355 ]
356+ self .mock_stdout (True )
356357 outtxt = self .eb_main (args , do_build = True )
358+ self .mock_stdout (False )
357359 found_msg = "Running method test_step part of step test"
358360 found = re .search (found_msg , outtxt )
359361 test_run_msg = "execute make_test dummy_cmd as a command for running unit tests"
@@ -363,7 +365,9 @@ def test_skip_test_step(self):
363365
364366 # And now with the argument
365367 args .append ('--skip-test-step' )
368+ self .mock_stdout (True )
366369 outtxt = self .eb_main (args , do_build = True )
370+ self .mock_stdout (False )
367371 found_msg = "Skipping test step"
368372 found = re .search (found_msg , outtxt )
369373 self .assertTrue (found , "Message about test step being skipped is present, outtxt: %s" % outtxt )
You can’t perform that action at this time.
0 commit comments