From 3f98e8ae0ab19174b9cabe56ef13a4a6f923fe63 Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Wed, 5 Feb 2014 14:45:27 -0500 Subject: keystone: fix tests ETCDIR location Tests in keystone/tests are failed because they looks for some config files at wrong location. Currently all the keystone config files are at /etc/keystone. Signed-off-by: Vu Tran Signed-off-by: Bruce Ashfield --- .../Update-test-core-ETCDIR-location.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-keystone/Update-test-core-ETCDIR-location.patch (limited to 'meta-openstack/recipes-devtools/python/python-keystone') 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 @@ +Update test core ETCDIR location + +Tests in keystone/tests are failed because they +looks for some config files at wrong location. +Currently all the keystone config files are at +/etc/keystone. + +Signed-off-by: Vu Tran +diff --git a/keystone/tests/core.py b/keystone/tests/core.py +index 860f68d..565cbcc 100644 +--- a/keystone/tests/core.py ++++ b/keystone/tests/core.py +@@ -77,7 +77,7 @@ LOG = logging.getLogger(__name__) + TESTSDIR = os.path.dirname(os.path.abspath(__file__)) + ROOTDIR = os.path.normpath(os.path.join(TESTSDIR, '..', '..')) + VENDOR = os.path.join(ROOTDIR, 'vendor') +-ETCDIR = os.path.join(ROOTDIR, 'etc') ++ETCDIR = "/etc/keystone" + TMPDIR = os.path.join(TESTSDIR, 'tmp') + + CONF = config.CONF +-- +1.7.9.5 + -- cgit v1.2.3-54-g00ecf