equal
deleted
inserted
replaced
26 from cubicweb.server.migractions import ServerMigrationHelper |
26 from cubicweb.server.migractions import ServerMigrationHelper |
27 |
27 |
28 |
28 |
29 class Schema(dict): |
29 class Schema(dict): |
30 def has_entity(self, e_type): |
30 def has_entity(self, e_type): |
31 return self.has_key(e_type) |
31 return e_type in self |
32 |
32 |
33 SMIGRDIR = join(dirname(__file__), 'data', 'server_migration') + '/' |
33 SMIGRDIR = join(dirname(__file__), 'data', 'server_migration') + '/' |
34 TMIGRDIR = join(dirname(__file__), 'data', 'migration') + '/' |
34 TMIGRDIR = join(dirname(__file__), 'data', 'migration') + '/' |
35 |
35 |
36 class MigrTestConfig(TestServerConfiguration): |
36 class MigrTestConfig(TestServerConfiguration): |