common/test/unittest_migration.py
branchtls-sprint
changeset 1802 d628defebc17
parent 755 cf75a7dbd99a
child 1977 606923dff11b
--- a/common/test/unittest_migration.py	Thu May 14 10:24:56 2009 +0200
+++ b/common/test/unittest_migration.py	Thu May 14 11:38:40 2009 +0200
@@ -24,7 +24,7 @@
 
     def cube_migration_scripts_dir(cls, cube):
         return TMIGRDIR
-    
+
 class MigrationToolsTC(TestCase):
     def setUp(self):
         self.config = MigrTestConfig('data')
@@ -32,7 +32,7 @@
         self.config.load_schema = lambda expand_cubes=False: Schema('test')
         self.config.__class__.cubicweb_vobject_path = frozenset()
         self.config.__class__.cube_vobject_path = frozenset()
-        
+
     def test_migration_files_base(self):
         self.assertListEquals(migration_files(self.config, [('cubicweb', (2,3,0), (2,4,0)),
                                                             ('TEMPLATE', (0,0,2), (0,0,3))]),
@@ -48,7 +48,7 @@
                               [SMIGRDIR+'bootstrapmigration_repository.py',
                                SMIGRDIR+'2.6.0_Any.sql',
                                TMIGRDIR+'0.0.4_Any.py'])
-        
+
 ##     def test_migration_files_overlap(self):
 ##         self.assertListEquals(migration_files(self.config, (2,4,0), (2,10,2),
 ##                                               (0,0,2), (0,1,2)),
@@ -62,7 +62,7 @@
 ##                                TMIGRDIR+'0.1.0_repository.py',
 ##                                TMIGRDIR+'0.1.2_Any.py',
 ##                                SMIGRDIR+'2.10.1_2.10.2_Any.sql'])
-        
+
     def test_migration_files_for_mode(self):
         from cubicweb.server.migractions import ServerMigrationHelper
         self.assertIsInstance(self.config.migration_handler(), ServerMigrationHelper)