diff -r e6eb0c7c2e98 -r 10942ed172de server/test/unittest_ldapsource.py --- a/server/test/unittest_ldapsource.py Tue Sep 08 18:04:57 2015 +0200 +++ b/server/test/unittest_ldapsource.py Tue Sep 15 16:15:03 2015 +0200 @@ -153,7 +153,7 @@ add an LDAP entity """ modcmd = ['dn: %s'%dn, 'changetype: add'] - for key, values in mods.iteritems(): + for key, values in mods.items(): if isinstance(values, string_types): values = [values] for value in values: @@ -172,7 +172,7 @@ modify one or more attributes of an LDAP entity """ modcmd = ['dn: %s'%dn, 'changetype: modify'] - for (kind, key), values in mods.iteritems(): + for (kind, key), values in mods.items(): modcmd.append('%s: %s' % (kind, key)) if isinstance(values, string_types): values = [values]