#NEWLINE# def test_cache_read_from( self ) : #NEWLINE# #INDENT# ( all_vts , invalid_vts ) = self . task . execute ( ) #NEWLINE# self . assertGreater ( len ( invalid_vts ) , 0 ) #NEWLINE# first_vt = invalid_vts [ 0 ] #NEWLINE# safe_rmtree ( self . task . _workdir ) #NEWLINE# ( all_vts2 , invalid_vts2 ) = self . task . execute ( ) #NEWLINE# self . assertGreater ( len ( all_vts2 ) , 0 ) #NEWLINE# second_vt = all_vts2 [ 0 ] #NEWLINE# self . assertEqual ( first_vt . cache_key . hash , second_vt . cache_key . hash ) #NEWLINE# self . assertListEqual ( invalid_vts2 , [ ] )