devtools/testlib.py
changeset 10663 54b8a1f249fb
parent 10662 10942ed172de
child 10675 e0db937f5add
--- a/devtools/testlib.py	Tue Sep 15 16:15:03 2015 +0200
+++ b/devtools/testlib.py	Tue Oct 13 15:09:22 2015 +0200
@@ -1294,7 +1294,7 @@
 #     # XXX broken
 #     from cubicweb.devtools.apptest import TestEnvironment
 #     env = testclass._env = TestEnvironment('data', configcls=testclass.configcls)
-#     for reg in env.vreg.itervalues():
+#     for reg in env.vreg.values():
 #         reg._selected = {}
 #         try:
 #             orig_select_best = reg.__class__.__orig_select_best
@@ -1317,7 +1317,7 @@
 #     for regname, reg in testclass._env.vreg.items():
 #         if regname in skipregs:
 #             continue
-#         for appobjects in reg.itervalues():
+#         for appobjects in reg.values():
 #             for appobject in appobjects:
 #                 if not reg._selected.get(appobject):
 #                     print 'not tested', regname, appobject