summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-keystoneclient
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystoneclient')
-rw-r--r--meta-openstack/recipes-devtools/python/python-keystoneclient/keystoneclient-fix-test-path-to-example-certificates.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-keystoneclient/keystoneclient-fix-test-path-to-example-certificates.patch b/meta-openstack/recipes-devtools/python/python-keystoneclient/keystoneclient-fix-test-path-to-example-certificates.patch
new file mode 100644
index 0000000..a75e1da
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-keystoneclient/keystoneclient-fix-test-path-to-example-certificates.patch
@@ -0,0 +1,31 @@
1From fae14f85d43da3842b2a065baf0442d61a573598 Mon Sep 17 00:00:00 2001
2From: Keith Holman <Keith.Holman@windriver.com>
3Date: Fri, 13 Jun 2014 17:08:03 -0400
4Subject: [PATCH] keystoneclient: fix test path to example certificates
5
6The tests included with keystoneclient expect them to be ran from the
7source tree. This fix changes base path of the system to where they
8are actually deployed on the system. This fix is required for some
9tests to work properly.
10
11Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
12---
13 keystoneclient/tests/client_fixtures.py | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/keystoneclient/tests/client_fixtures.py b/keystoneclient/tests/client_fixtures.py
17index 1743162..6bfcb93 100644
18--- a/keystoneclient/tests/client_fixtures.py
19+++ b/keystoneclient/tests/client_fixtures.py
20@@ -25,7 +25,7 @@ from keystoneclient import utils
21
22
23 TESTDIR = os.path.dirname(os.path.abspath(__file__))
24-ROOTDIR = os.path.normpath(os.path.join(TESTDIR, '..', '..'))
25+ROOTDIR = os.path.normpath(os.path.join(TESTDIR, '..'))
26 CERTDIR = os.path.join(ROOTDIR, 'examples', 'pki', 'certs')
27 CMSDIR = os.path.join(ROOTDIR, 'examples', 'pki', 'cms')
28 KEYDIR = os.path.join(ROOTDIR, 'examples', 'pki', 'private')
29--
301.9.3
31