Fix-test-of-assertValidRole
Test of assertValidRole, so we should change the parameter name from tenant to role. Change-Id: I7a7b0a26a454a6baa0ab00501dec03cf8c853fba
This commit is contained in:
parent
c7ab7c5677
commit
35738c4949
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue