summaryrefslogtreecommitdiff
path: root/openstackclient/tests/identity/v3/fakes.py
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2014-10-20 12:47:39 -0500
committerSteve Martinelli <stevemar@ca.ibm.com>2014-10-20 18:21:51 +0000
commitcd368bb81690af5b4e99c0fd71b35fb00c9e0786 (patch)
tree75e826df6214c95e8bb41ab9a331919a6765dcd8 /openstackclient/tests/identity/v3/fakes.py
parent2166d7d3afbbdc1659e4cffdb7bcd890cd00ec19 (diff)
downloadpython-openstackclient-cd368bb81690af5b4e99c0fd71b35fb00c9e0786.tar.gz
Fix token issue after auth changeup
IssueToken.take_action() was missed in updating the structure of the ClientManager. Also, TOKEN_WITH_TENANT_ID in v3 is just wrong... Closes-Bug: #1383396 Change-Id: If2dd82a26af1d743ee9df73e0c1aebce497bf22e
Diffstat (limited to 'openstackclient/tests/identity/v3/fakes.py')
-rw-r--r--openstackclient/tests/identity/v3/fakes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/tests/identity/v3/fakes.py b/openstackclient/tests/identity/v3/fakes.py
index 69c25905..5844d160 100644
--- a/openstackclient/tests/identity/v3/fakes.py
+++ b/openstackclient/tests/identity/v3/fakes.py
@@ -176,10 +176,10 @@ USER = {
token_expires = '2014-01-01T00:00:00Z'
token_id = 'tttttttt-tttt-tttt-tttt-tttttttttttt'
-TOKEN_WITH_TENANT_ID = {
+TOKEN_WITH_PROJECT_ID = {
'expires': token_expires,
'id': token_id,
- 'tenant_id': project_id,
+ 'project_id': project_id,
'user_id': user_id,
}