Merge "Correct test_auth_unscoped_token_project for result ordering"

This commit is contained in:
Jenkins 2015-02-10 06:02:28 +00:00 committed by Gerrit Code Review
commit 5471ee18f5
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ class AuthWithToken(AuthTest):
tenant = scoped_token["access"]["token"]["tenant"]
roles = scoped_token["access"]["metadata"]["roles"]
self.assertEqual(self.tenant_bar['id'], tenant["id"])
self.assertEqual(self.role_member['id'], roles[0])
self.assertThat(roles, matchers.Contains(self.role_member['id']))
def test_auth_token_project_group_role(self):
"""Verify getting a token in a tenant with group roles."""