

@patch('twilio.rest.resources.base.Resource.request')
def test_delete_role(self, req):
    resp = Mock()
    resp.content = ''
    resp.status_code = 204
    uri.return_value = (resp, {
        
    })
    app = Role(list_resource, 'RO123')
    app.delete()
    uri = ('%s/Roles/RO123' % BASE_URI)
    req.assert_called_with('DELETE', uri)

dataset/ETHPy150Open twilio/twilio-python/tests/ip_messaging/test_roles.py RoleTest.test_delete_role/VarMisuse@36/53 `req`->`uri`