

def update_role(self, release_id, role_name, data, expect_errors=False):
    return self.app.put(reverse('RoleHandler', {
        'role_name': role_name,
        'release_id': release_id,
    }), jsonutils.dumps(data), headers=self.default_headers, expect_errors=expect_errors)

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/base.py EnvironmentManager.update_role/original