test/unittest_migration.py
changeset 8697 574bb05e40a4
parent 8558 133101245cac
child 9251 e4d753c8b1c4
--- a/test/unittest_migration.py	Thu Feb 14 16:01:24 2013 +0100
+++ b/test/unittest_migration.py	Thu Feb 14 16:45:07 2013 +0100
@@ -28,7 +28,7 @@
 
 class Schema(dict):
     def has_entity(self, e_type):
-        return self.has_key(e_type)
+        return e_type in self
 
 SMIGRDIR = join(dirname(__file__), 'data', 'server_migration') + '/'
 TMIGRDIR = join(dirname(__file__), 'data', 'migration') + '/'