#NEWLINE# def test_update_existing_manifest_when_key_not_in_journal( self ) : #NEWLINE# #INDENT# self . mock_journal ( True , list ( self . key_names ) ) #NEWLINE# self . key_names . append ( 'object_path/5acd5fb0-be96-451a-be32-b65c4461b3f4' ) #NEWLINE# self . bucket . list = Mock ( return_value = [ self . mock_key ( key ) for key in self . key_names ] ) #NEWLINE# self . assertEqual ( [ { #NEWLINE# #INDENT# 'url' : 's3://{0}/object_path/5acd5fb0-be96-451a-be32-b65c4461b3f4' . format ( BUCKET_NAME ) , #NEWLINE# 'mandatory' : True , #NEWLINE# #UNINDENT# } ] , list ( self . manifest . get ( ) [ 'manifest' ] [ 'entries' ] ) )