test/unittest_migration.py
changeset 9723 46ad7d474d3d
parent 9576 5d4f662f5e31
child 10567 c316e0049b9c
--- a/test/unittest_migration.py	Wed Apr 23 18:19:37 2014 +0200
+++ b/test/unittest_migration.py	Fri Apr 18 14:24:52 2014 +0200
@@ -76,7 +76,7 @@
     def test_filter_scripts_for_mode(self):
         config = CubicWebConfiguration('data')
         config.verbosity = 0
-        self.assert_(not isinstance(config.migration_handler(), ServerMigrationHelper))
+        self.assertNotIsInstance(config.migration_handler(), ServerMigrationHelper)
         self.assertIsInstance(config.migration_handler(), MigrationHelper)
         config = self.config
         config.__class__.name = 'repository'