diff options
| author | Vu Tran <vu.tran@windriver.com> | 2014-02-05 14:45:27 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-02-10 11:50:14 -0500 |
| commit | 3f98e8ae0ab19174b9cabe56ef13a4a6f923fe63 (patch) | |
| tree | 799e85a2398257acb87501142a840c8d36168c77 /meta-openstack/recipes-devtools/python/python-keystone | |
| parent | bf3023d307cc476c5d9ce6e650bfb14f0a31f8ee (diff) | |
| download | meta-cloud-services-3f98e8ae0ab19174b9cabe56ef13a4a6f923fe63.tar.gz | |
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 <vu.tran@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
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.patch | 24 |
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 @@ | |||
| 1 | Update test core ETCDIR location | ||
| 2 | |||
| 3 | Tests in keystone/tests are failed because they | ||
| 4 | looks for some config files at wrong location. | ||
| 5 | Currently all the keystone config files are at | ||
| 6 | /etc/keystone. | ||
| 7 | |||
| 8 | Signed-off-by: Vu Tran <vu.tran@windriver.com> | ||
| 9 | diff --git a/keystone/tests/core.py b/keystone/tests/core.py | ||
| 10 | index 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 | -- | ||
| 23 | 1.7.9.5 | ||
| 24 | |||
