#NEWLINE# def test_generates_no_report_if_no_resolve_performed( self ) : #NEWLINE# #INDENT# with temporary_dir ( ) as ivy_report_dir : #NEWLINE# #INDENT# run = self . run_pants ( [ 'resolve' , 'src/java/org/pantsbuild/junit/annotations' , '--resolve-ivy-report' , '--resolve-ivy-outdir={reportdir}' . format ( reportdir = ivy_report_dir ) ] ) #NEWLINE# self . assert_success ( run ) #NEWLINE# ( html_report_file , listdir ) = self . _find_html_report ( ivy_report_dir ) #NEWLINE# self . assertIsNone ( html_report_file , msg = 'Expected no report file since no resolve was run.' ) #NEWLINE# self . assertIn ( 'Not generating a report.' , run . stdout_data )