diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-04-26 14:37:11 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-04-26 14:37:11 +0000 |
commit | 5fc2548eae225ebe84ab378a6136f1be9cb8b443 (patch) | |
tree | 395fc176a9d1cf98b3c252ebb73a3d51bb6983d3 /tempest/api/identity/admin/v3/test_trusts.py | |
parent | 93f2f81e58d1fefadc0b31dc6e5fa75ccee62135 (diff) | |
parent | 8160d31e58eab90fde1f3412dae1099653482cc4 (diff) | |
download | tempest-5fc2548eae225ebe84ab378a6136f1be9cb8b443.tar.gz |
Merge "test.py: stop using aliases for creds manager"
Diffstat (limited to 'tempest/api/identity/admin/v3/test_trusts.py')
-rw-r--r-- | tempest/api/identity/admin/v3/test_trusts.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tempest/api/identity/admin/v3/test_trusts.py b/tempest/api/identity/admin/v3/test_trusts.py index 34b281a65..3e6a2de7a 100644 --- a/tempest/api/identity/admin/v3/test_trusts.py +++ b/tempest/api/identity/admin/v3/test_trusts.py @@ -279,9 +279,9 @@ class TrustsV3TestJSON(BaseTrustsV3Test): # Listing trusts can be done by trustor, by trustee, or without # any filter if scoped to a project, so we must ensure token scope is # project for this test. - original_scope = self.os_adm.auth_provider.scope - set_scope(self.os_adm.auth_provider, 'project') - self.addCleanup(set_scope, self.os_adm.auth_provider, original_scope) + original_scope = self.os_admin.auth_provider.scope + set_scope(self.os_admin.auth_provider, 'project') + self.addCleanup(set_scope, self.os_admin.auth_provider, original_scope) trusts_get = self.trusts_client.list_trusts()['trusts'] trusts = [t for t in trusts_get if t['id'] == self.trust_id] |