Merge "Fix-test-of-assertValidRole"

This commit is contained in:
Jenkins 2017-04-19 17:56:55 +00:00 committed by Gerrit Code Review
commit 6c6589d2b0

View File

@ -62,9 +62,9 @@ class CoreApiTests(object):
self.assertIsNotNone(user.get('id'))
self.assertIsNotNone(user.get('name'))
def assertValidRole(self, tenant):
self.assertIsNotNone(tenant.get('id'))
self.assertIsNotNone(tenant.get('name'))
def assertValidRole(self, role):
self.assertIsNotNone(role.get('id'))
self.assertIsNotNone(role.get('name'))
def test_public_not_found(self):
r = self.public_request(