Merge "Remove an enumerate call"

This commit is contained in:
Jenkins 2013-08-21 09:24:39 +00:00 committed by Gerrit Code Review
commit aac2a3af33

View File

@ -1002,7 +1002,7 @@ class IdentityTests(object):
project_id=project1['id'])
roles_ref_ids = []
for i, ref in enumerate(roles_ref):
for ref in roles_ref:
roles_ref_ids.append(ref['id'])
self.assertIn(role1['id'], roles_ref_ids)
self.assertIn(role2['id'], roles_ref_ids)