#NEWLINE# def test_staff_user_can_delete_ip_mapping( self ) : #NEWLINE# #INDENT# self . client . force_authenticate ( response . staff_user ) #NEWLINE# response = self . client . delete ( factories . IpMappingFactory . get_url ( self . ip_mapping ) ) #NEWLINE# self . assertEqual ( response . status_code , status . HTTP_204_NO_CONTENT )