diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2013-08-27 16:57:30 -0500 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-09-04 21:37:45 +0000 |
| commit | 44c97cc099a35af2d3d999f9799238fc72be071d (patch) | |
| tree | cceb16e89655044e3ec122cb1c002397a411ffac /openstackclient/identity/client.py | |
| parent | eb405a88c47e91633ecb110122410aa24c24f9cd (diff) | |
| download | python-openstackclient-44c97cc099a35af2d3d999f9799238fc72be071d.tar.gz | |
Add Identity v2 role and service tests
* Add current auth info (auth_ref) to ClientManager
* Fix identity.v2_0.role.ListUserRole to get default user/project
from ClientManager.auth_ref
* Fix identity.v2_0.role.AddRole call to roles.add_user_role()
Change-Id: Ie8bf41c491d97b0292a2b86bdc9b7580989a7f97
Diffstat (limited to 'openstackclient/identity/client.py')
| -rw-r--r-- | openstackclient/identity/client.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openstackclient/identity/client.py b/openstackclient/identity/client.py index 8e2bda40..8c9437ba 100644 --- a/openstackclient/identity/client.py +++ b/openstackclient/identity/client.py @@ -1,4 +1,4 @@ -# Copyright 2012-2013 OpenStack, LLC. +# Copyright 2012-2013 OpenStack Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain @@ -48,6 +48,7 @@ def make_client(instance): tenant_id=instance._project_id, auth_url=instance._auth_url, region_name=instance._region_name) + instance.auth_ref = client.auth_ref return client |
