#NEWLINE# def test_delete_object_not_found( self ) : #NEWLINE# #INDENT# self . mock_response_klass . type = 'NOT_FOUND' #NEWLINE# container = Container ( name = 'foo_bar_container' , extra = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , driver = self . driver ) #NEWLINE# obj = Object ( name = 'foo_bar_object' , size = 1234 , hash = None , extra = None , meta_data = None , container = container , driver = self . driver ) #NEWLINE# try : #NEWLINE# #INDENT# self . driver . delete_object ( obj = container ) #NEWLINE# #UNINDENT# except ObjectDoesNotExistError : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . fail ( 'Exception was not thrown' )