diff options
| author | Steve Martinelli <stevemar@ca.ibm.com> | 2014-10-10 14:17:11 -0400 |
|---|---|---|
| committer | Steve Martinelli <stevemar@ca.ibm.com> | 2014-10-11 20:34:09 -0400 |
| commit | 1b3c7ec122504a41dc35aaf3f0693c9e20015df8 (patch) | |
| tree | b4c2b6b74caf4ccae256491ca73920f9be1da54b /functional | |
| parent | 0c77a9fe8baa4df9ea2d0055db9c700af3cae310 (diff) | |
| download | python-openstackclient-1b3c7ec122504a41dc35aaf3f0693c9e20015df8.tar.gz | |
Fix issue token for v3
Currently the code is broken as it references a part of
keystoneclient that does not exist.
Change-Id: I7fbc754537fbb4acffb166b5854840acfaef1fb8
Closes-Bug: #1379871
Diffstat (limited to 'functional')
| -rw-r--r-- | functional/tests/test_identity.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/functional/tests/test_identity.py b/functional/tests/test_identity.py index cdb0ed34..c5779a20 100644 --- a/functional/tests/test_identity.py +++ b/functional/tests/test_identity.py @@ -76,6 +76,7 @@ class IdentityV3Tests(test.TestCase): DOMAIN_FIELDS = ['description', 'enabled', 'id', 'name', 'links'] GROUP_FIELDS = ['description', 'domain_id', 'id', 'name', 'links'] + TOKEN_FIELDS = ['expires', 'id', 'project_id', 'user_id'] def _create_dummy_group(self): name = uuid.uuid4().hex @@ -139,3 +140,8 @@ class IdentityV3Tests(test.TestCase): raw_output = self.openstack('domain show ' + name) items = self.parse_show(raw_output) self.assert_show_fields(items, self.DOMAIN_FIELDS) + + def test_token_issue(self): + raw_output = self.openstack('token issue') + items = self.parse_show(raw_output) + self.assert_show_fields(items, self.TOKEN_FIELDS) |
