cubicweb/test/unittest_cwconfig.py
branch3.26
changeset 12272 36032de96867
parent 12165 127f7da447a4
child 12273 9d08f89a3d85
--- a/cubicweb/test/unittest_cwconfig.py	Thu Feb 15 10:26:55 2018 +0100
+++ b/cubicweb/test/unittest_cwconfig.py	Thu Feb 15 10:55:49 2018 +0100
@@ -125,6 +125,12 @@
         ApptestConfiguration.CUBES_PATH = []
         cleanup_sys_modules([self.datapath('libpython')])
 
+    def test_migration_scripts_dir(self):
+        mscripts = os.listdir(self.config.migration_scripts_dir())
+        self.assertIn('bootstrapmigration_repository.py', mscripts)
+        self.assertIn('postcreate.py', mscripts)
+        self.assertIn('3.24.0_Any.py', mscripts)
+
     @patch('pkg_resources.iter_entry_points', side_effect=iter_entry_points)
     def test_available_cubes(self, mock_iter_entry_points):
         expected_cubes = [