summaryrefslogtreecommitdiffstats
path: root/tests/test_backend.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-07-08 17:04:35 +0000
committerGerrit Code Review <review@openstack.org>2013-07-08 17:04:35 +0000
commitf37c0ea2adad642e5f2f9648796a03fb2f4a86d5 (patch)
treeeaf39cc25feaea6772f8d03383ba0f04719ac735 /tests/test_backend.py
parent1e7c6d5d59429ae3de404739e154a79680ba15a8 (diff)
parent9559bdf1db33a6c49173f5b46e79af8099676ad5 (diff)
downloadkeystone-f37c0ea2adad642e5f2f9648796a03fb2f4a86d5.tar.gz
keystone-f37c0ea2adad642e5f2f9648796a03fb2f4a86d5.tar.xz
keystone-f37c0ea2adad642e5f2f9648796a03fb2f4a86d5.zip
Merge "Remove an enumerate call"
Diffstat (limited to 'tests/test_backend.py')
-rw-r--r--tests/test_backend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_backend.py b/tests/test_backend.py
index f8d04b6e..cb90448f 100644
--- a/tests/test_backend.py
+++ b/tests/test_backend.py
@@ -1131,7 +1131,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)