Fix identity test_role functional tests
A recent keystone change [1] resulted in the domain_id field
being included when showing a role.
[1] 407eabde41
Change-Id: I344f4d727f2a16217c075ad8b8393c1e0a233c2e
Closes-Bug: #1544547
This commit is contained in:
parent
624c39ab1b
commit
7d6d23d378
@ -24,7 +24,7 @@ class IdentityTests(test.TestCase):
|
|||||||
'username', 'domain_id', 'default_project_id']
|
'username', 'domain_id', 'default_project_id']
|
||||||
PROJECT_FIELDS = ['enabled', 'id', 'name', 'description', 'domain_id']
|
PROJECT_FIELDS = ['enabled', 'id', 'name', 'description', 'domain_id']
|
||||||
TOKEN_FIELDS = ['expires', 'id', 'project_id', 'user_id']
|
TOKEN_FIELDS = ['expires', 'id', 'project_id', 'user_id']
|
||||||
ROLE_FIELDS = ['id', 'name', 'links']
|
ROLE_FIELDS = ['id', 'name', 'links', 'domain_id']
|
||||||
SERVICE_FIELDS = ['id', 'enabled', 'name', 'type', 'description']
|
SERVICE_FIELDS = ['id', 'enabled', 'name', 'type', 'description']
|
||||||
ENDPOINT_FIELDS = ['id', 'region', 'service_id', 'service_name',
|
ENDPOINT_FIELDS = ['id', 'region', 'service_id', 'service_name',
|
||||||
'service_type', 'enabled', 'publicurl',
|
'service_type', 'enabled', 'publicurl',
|
||||||
|
@ -30,7 +30,7 @@ class IdentityTests(test.TestCase):
|
|||||||
'domain_id', 'default_project_id', 'description']
|
'domain_id', 'default_project_id', 'description']
|
||||||
PROJECT_FIELDS = ['description', 'id', 'domain_id', 'is_domain',
|
PROJECT_FIELDS = ['description', 'id', 'domain_id', 'is_domain',
|
||||||
'enabled', 'name', 'parent_id', 'links']
|
'enabled', 'name', 'parent_id', 'links']
|
||||||
ROLE_FIELDS = ['id', 'name', 'links']
|
ROLE_FIELDS = ['id', 'name', 'links', 'domain_id']
|
||||||
SERVICE_FIELDS = ['id', 'enabled', 'name', 'type', 'description']
|
SERVICE_FIELDS = ['id', 'enabled', 'name', 'type', 'description']
|
||||||
REGION_FIELDS = ['description', 'enabled', 'parent_region', 'region']
|
REGION_FIELDS = ['description', 'enabled', 'parent_region', 'region']
|
||||||
ENDPOINT_FIELDS = ['id', 'region', 'region_id', 'service_id',
|
ENDPOINT_FIELDS = ['id', 'region', 'region_id', 'service_id',
|
||||||
|
Loading…
Reference in New Issue
Block a user