#NEWLINE# def test_absent_with_failure( self ) : #NEWLINE# #INDENT# self . conn . delete_bucket . side_effect = ClientError ( error_content , 'delete_bucket' ) #NEWLINE# result = salt_states [ 'boto_s3_bucket.absent' ] ( 'test' , 'testbucket' ) #NEWLINE# self . assertFalse ( result [ 'result' ] ) #NEWLINE# self . assertTrue ( ( 'An error occurred' in result [ 'comment' ] ) )