[test] do not overwrite user's CW_CUBES_PATH in unittest_migration
Currently when you rely on your CW_CUBES_PATH environment variable to
locate cubes necessary for cubicweb's tests, the migration test crashes
because it overrides the env var.
--- a/server/test/unittest_migractions.py Tue Nov 03 16:00:34 2015 +0100
+++ b/server/test/unittest_migractions.py Wed Sep 23 15:32:17 2015 +0200
@@ -54,7 +54,8 @@
class MigrationConfig(cubicweb.devtools.TestServerConfiguration):
default_sources = cubicweb.devtools.DEFAULT_PSQL_SOURCES
- CUBES_PATH = [osp.join(HERE, 'data-migractions', 'cubes')]
+ CUBES_PATH = cubicweb.devtools.TestServerConfiguration.CUBES_PATH + [
+ osp.join(HERE, 'data-migractions', 'cubes')]
class MigrationTC(CubicWebTC):