#NEWLINE# def test_should_remove_consumer( self ) : #NEWLINE# #INDENT# self . responses . delete ( ( self . entity_href + '/consumers' ) , status_code = 204 ) #NEWLINE# self . manager . remove_consumer ( self . entity_href , self . container . consumer . get ( 'name' ) , self . container . consumer . get ( 'URL' ) ) #NEWLINE# body = json . loads ( self . responses . last_request . text ) #NEWLINE# self . assertEqual ( self . consumers_delete_resource , self . responses . last_request . url ) #NEWLINE# self . assertEqual ( self . container . consumer , body )