summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-keystone
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystone')
-rw-r--r--meta-openstack/recipes-devtools/python/python-keystone/Update-test-core-ETCDIR-location.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-keystone/Update-test-core-ETCDIR-location.patch b/meta-openstack/recipes-devtools/python/python-keystone/Update-test-core-ETCDIR-location.patch
new file mode 100644
index 0000000..458b618
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-keystone/Update-test-core-ETCDIR-location.patch
@@ -0,0 +1,24 @@
1Update test core ETCDIR location
2
3Tests in keystone/tests are failed because they
4looks for some config files at wrong location.
5Currently all the keystone config files are at
6/etc/keystone.
7
8Signed-off-by: Vu Tran <vu.tran@windriver.com>
9diff --git a/keystone/tests/core.py b/keystone/tests/core.py
10index 860f68d..565cbcc 100644
11--- a/keystone/tests/core.py
12+++ b/keystone/tests/core.py
13@@ -77,7 +77,7 @@ LOG = logging.getLogger(__name__)
14 TESTSDIR = os.path.dirname(os.path.abspath(__file__))
15 ROOTDIR = os.path.normpath(os.path.join(TESTSDIR, '..', '..'))
16 VENDOR = os.path.join(ROOTDIR, 'vendor')
17-ETCDIR = os.path.join(ROOTDIR, 'etc')
18+ETCDIR = "/etc/keystone"
19 TMPDIR = os.path.join(TESTSDIR, 'tmp')
20
21 CONF = config.CONF
22--
231.7.9.5
24