diff options
author | Michael Basnight <mbasnight@gmail.com> | 2012-03-20 08:53:31 -0500 |
---|---|---|
committer | Michael Basnight <mbasnight@gmail.com> | 2012-03-20 08:53:31 -0500 |
commit | 5d07cdf438b97ec2fdc4685b2f1559f3258da102 (patch) | |
tree | 7bef3c4c3f915afaf45eacb48e9f8f634daac770 /tests/test_content_types.py | |
parent | 3a70a2f9281fdfec6f770cfb60fcd2dce5a77c5f (diff) | |
download | keystone-5d07cdf438b97ec2fdc4685b2f1559f3258da102.tar.gz keystone-5d07cdf438b97ec2fdc4685b2f1559f3258da102.tar.xz keystone-5d07cdf438b97ec2fdc4685b2f1559f3258da102.zip |
Changing belongsTo validation back to ID
* Fixes lp#960218
Change-Id: I6296413c211da92a4d0e07a544ca812d3544cb73
Diffstat (limited to 'tests/test_content_types.py')
-rw-r--r-- | tests/test_content_types.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_content_types.py b/tests/test_content_types.py index 85259543..64599ef6 100644 --- a/tests/test_content_types.py +++ b/tests/test_content_types.py @@ -369,7 +369,7 @@ class CoreApiTests(object): def test_validate_token_belongs_to(self): token = self.get_scoped_token() path = ('/v2.0/tokens/%s?belongsTo=%s' - % (token, self.tenant_bar['name'])) + % (token, self.tenant_bar['id'])) r = self.admin_request(path=path,token=token) self.assertValidAuthenticationResponse(r, require_service_catalog=True) |