Merge "Do not check for id in the keystone output"

This commit is contained in:
Jenkins 2013-10-04 04:58:48 +00:00 committed by Gerrit Code Review
commit 385f0b116e
1 changed files with 4 additions and 1 deletions

View File

@ -50,7 +50,10 @@ class SimpleReadOnlyKeystoneClientTest(tempest.cli.ClientTestBase):
self.assertTrue(svc['__label'].startswith('Service:'),
msg=('Invalid beginning of service block: '
'%s' % svc['__label']))
self.assertIn('id', svc.keys())
# check that region and publicURL exists. One might also
# check for adminURL and internalURL. id seems to be optional
# and is missing in the catalog backend
self.assertIn('publicURL', svc.keys())
self.assertIn('region', svc.keys())
def test_admin_endpoint_list(self):