summaryrefslogtreecommitdiff
path: root/heat/tests/test_common_context.py
diff options
context:
space:
mode:
authorrabi <ramishra@redhat.com>2017-06-20 14:21:32 +0530
committerRabi Mishra <ramishra@redhat.com>2017-07-17 02:59:03 +0000
commit923e2e2316817be3e7017b43dc24bb0a7971f460 (patch)
treecf767cefc78e78c6166f5bbeb4c93cfd53cc737d /heat/tests/test_common_context.py
parenta5ac2c3b1ddb1cd72d4d347866a81edb71b00378 (diff)
downloadheat-923e2e2316817be3e7017b43dc24bb0a7971f460.tar.gz
Make standalone heat work with keystone v3
- Fix authpassword middleware - Pass user_domain/project_domain all through. user_domain is required whenever authenticating a user with 'username' and creating the 'password' auth_plugin. Change-Id: I692639a16be42b755628695d89731aa23eb9221b Closes-Bug: #1699418
Diffstat (limited to 'heat/tests/test_common_context.py')
-rw-r--r--heat/tests/test_common_context.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/heat/tests/test_common_context.py b/heat/tests/test_common_context.py
index 9145fd3f4..9f66d9e0d 100644
--- a/heat/tests/test_common_context.py
+++ b/heat/tests/test_common_context.py
@@ -50,8 +50,8 @@ class TestRequestContext(common.HeatTestCase):
'aws_creds': 'blah',
'region_name': 'RegionOne',
'user_identity': 'fooUser 456tenant',
- 'user_domain_id': None,
- 'project_domain_id': None}
+ 'user_domain': None,
+ 'project_domain': None}
super(TestRequestContext, self).setUp()