diff options
author | Adam Young <ayoung@redhat.com> | 2013-07-31 13:31:16 -0400 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2013-08-01 17:52:23 -0400 |
commit | 7ac3d4e4543ed7b540fe60db9b222b179ea301b7 (patch) | |
tree | 9ff52da194a3b60cc86ae26002808f3d5ef9e16d /tests | |
parent | a39a97d104a425c808648b360c6075b025fb21eb (diff) | |
download | keystone-7ac3d4e4543ed7b540fe60db9b222b179ea301b7.tar.gz keystone-7ac3d4e4543ed7b540fe60db9b222b179ea301b7.tar.xz keystone-7ac3d4e4543ed7b540fe60db9b222b179ea301b7.zip |
add OS-TRUST to links
Bug 1183874
Change-Id: I3881e360485c4c1ff6d67aec12d47130c6b0eb70
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_auth.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_auth.py b/tests/test_auth.py index 1416269b..db5314be 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -618,6 +618,10 @@ class AuthWithTrust(AuthTest): role_ids = [self.role_browser['id'], self.role_member['id']] self.assertTrue(timeutils.parse_strtime(self.new_trust['expires_at'], fmt=TIME_FORMAT)) + self.assertIn('http://localhost:5000/v3/OS-TRUST/', + self.new_trust['links']['self']) + self.assertIn('http://localhost:5000/v3/OS-TRUST/', + self.new_trust['roles_links']['self']) for role in self.new_trust['roles']: self.assertIn(role['id'], role_ids) |