projects
/
cascardo
/
ipsilon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Drop all the calls to .keys() when iterating on the keys of a dict
[cascardo/ipsilon.git]
/
tests
/
testmapping.py
diff --git
a/tests/testmapping.py
b/tests/testmapping.py
index
6c3ae7d
..
64a31cd
100755
(executable)
--- a/
tests/testmapping.py
+++ b/
tests/testmapping.py
@@
-85,7
+85,7
@@
def check_info_plugin(s, idp_name, urlbase, expected):
data.pop('MELLON_IDP')
data.pop('MELLON_NAME_ID')
- for key in expected
.keys()
:
+ for key in expected:
item = data.pop('MELLON_' + key)
if item != expected[key]:
raise ValueError('Expected %s, got %s' % (expected[key], item))