web/test/unittest_viewselector.py
changeset 10664 6465a3e9d7ac
parent 10589 7c23b7de2b8d
child 10704 73367a56ee41
--- a/web/test/unittest_viewselector.py	Tue Oct 13 15:09:22 2015 +0200
+++ b/web/test/unittest_viewselector.py	Fri Sep 18 18:04:05 2015 +0200
@@ -477,12 +477,12 @@
 
 
     def test_properties(self):
-        self.assertEqual(sorted(k for k in self.vreg['propertydefs'].iterkeys()
+        self.assertEqual(sorted(k for k in self.vreg['propertydefs']
                                 if k.startswith('ctxcomponents.edit_box')),
                          ['ctxcomponents.edit_box.context',
                           'ctxcomponents.edit_box.order',
                           'ctxcomponents.edit_box.visible'])
-        self.assertEqual([k for k in self.vreg['propertyvalues'].iterkeys()
+        self.assertEqual([k for k in self.vreg['propertyvalues']
                           if not k.startswith('system.version')],
                          [])
         self.assertEqual(self.vreg.property_value('ctxcomponents.edit_box.visible'), True)