#NEWLINE# def test_good_caching( self ) : #NEWLINE# #INDENT# with self . setup_sandbox ( ) as sandbox : #NEWLINE# #INDENT# sandbox . write_build_file ( self . _good_one_two ) #NEWLINE# self . assert_success ( sandbox . clean_all ( ) ) #NEWLINE# first_run = sandbox . jvm_platform_validate ( 'one' , 'two' ) #NEWLINE# self . assert_success ( first_run ) #NEWLINE# self . assertIn ( 'Invalidated 2 targets' , first_run . stdout_data ) #NEWLINE# second_run = sandbox . jvm_platform_validate ( 'one' , 'two' ) #NEWLINE# self . assert_success ( second_run ) #NEWLINE# self . assertNotIn ( 'Invalidated 2 targets' , second_run . stdout_data )