summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-cinder/cinder-builtin-tests-config-location.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-cinder/cinder-builtin-tests-config-location.patch')
-rw-r--r--meta-openstack/recipes-devtools/python/python-cinder/cinder-builtin-tests-config-location.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder-builtin-tests-config-location.patch b/meta-openstack/recipes-devtools/python/python-cinder/cinder-builtin-tests-config-location.patch
index 53da893..1981a87 100644
--- a/meta-openstack/recipes-devtools/python/python-cinder/cinder-builtin-tests-config-location.patch
+++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder-builtin-tests-config-location.patch
@@ -13,10 +13,10 @@ Index: git/cinder/tests/conf_fixture.py
13=================================================================== 13===================================================================
14--- git.orig/cinder/tests/conf_fixture.py 14--- git.orig/cinder/tests/conf_fixture.py
15+++ git/cinder/tests/conf_fixture.py 15+++ git/cinder/tests/conf_fixture.py
16@@ -43,7 +43,7 @@ def set_defaults(conf): 16@@ -43,7 +43,7 @@
17 conf.set_default('iscsi_num_targets', 8) 17 conf.set_default('iscsi_num_targets', 8)
18 conf.set_default('connection', 'sqlite://', group='database') 18 conf.set_default('connection', 'sqlite://', group='database')
19 conf.set_default('sqlite_synchronous', False) 19 conf.set_default('sqlite_synchronous', False, group='database')
20- conf.set_default('policy_file', 'cinder/tests/policy.json') 20- conf.set_default('policy_file', 'cinder/tests/policy.json')
21+ conf.set_default('policy_file', '%PYTHON_SITEPACKAGES_DIR%/cinder/tests/policy.json') 21+ conf.set_default('policy_file', '%PYTHON_SITEPACKAGES_DIR%/cinder/tests/policy.json')
22 conf.set_default( 22 conf.set_default(