diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-07-21 15:09:41 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-07-21 15:09:41 -0400 |
| commit | e3759348bd96a2e0cf436204b2444a3e2ac632d1 (patch) | |
| tree | a16bf9dcd39d390d590762e633e674753f86a057 /meta-openstack/recipes-devtools/python/python-novaclient/novaclient-specify-full-path-to-test-certificate.patch | |
| parent | a47a0973d0dd3c95063c9cea5368d20b715f8d92 (diff) | |
| download | meta-cloud-services-e3759348bd96a2e0cf436204b2444a3e2ac632d1.tar.gz | |
novaclient: update to 2014.x latest
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-novaclient/novaclient-specify-full-path-to-test-certificate.patch')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-novaclient/novaclient-specify-full-path-to-test-certificate.patch | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-novaclient/novaclient-specify-full-path-to-test-certificate.patch b/meta-openstack/recipes-devtools/python/python-novaclient/novaclient-specify-full-path-to-test-certificate.patch index dff3edd..60d5984 100644 --- a/meta-openstack/recipes-devtools/python/python-novaclient/novaclient-specify-full-path-to-test-certificate.patch +++ b/meta-openstack/recipes-devtools/python/python-novaclient/novaclient-specify-full-path-to-test-certificate.patch | |||
| @@ -17,19 +17,16 @@ Signed-off-by: Keith Holman <Keith.Holman@windriver.com> | |||
| 17 | novaclient/tests/v1_1/test_servers.py | 2 +- | 17 | novaclient/tests/v1_1/test_servers.py | 2 +- |
| 18 | 1 file changed, 1 insertion(+), 1 deletion(-) | 18 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 19 | 19 | ||
| 20 | diff --git a/novaclient/tests/v1_1/test_servers.py b/novaclient/tests/v1_1/test_servers.py | 20 | Index: git/novaclient/tests/v1_1/test_servers.py |
| 21 | index a48204c..443adc3 100644 | 21 | =================================================================== |
| 22 | --- a/novaclient/tests/v1_1/test_servers.py | 22 | --- git.orig/novaclient/tests/v1_1/test_servers.py |
| 23 | +++ b/novaclient/tests/v1_1/test_servers.py | 23 | +++ git/novaclient/tests/v1_1/test_servers.py |
| 24 | @@ -462,7 +462,7 @@ class ServersTest(utils.TestCase): | 24 | @@ -489,7 +489,7 @@ |
| 25 | 25 | ||
| 26 | def test_get_password(self): | 26 | def test_get_password(self): |
| 27 | s = cs.servers.get(1234) | 27 | s = self.cs.servers.get(1234) |
| 28 | - self.assertEqual(s.get_password('novaclient/tests/idfake.pem'), | 28 | - self.assertEqual(s.get_password('novaclient/tests/idfake.pem'), |
| 29 | + self.assertEqual(s.get_password('%PYTHON_SITEPACKAGES_DIR%/novaclient/tests/idfake.pem'), | 29 | + self.assertEqual(s.get_password('%PYTHON_SITEPACKAGES_DIR%/novaclient/tests/idfake.pem'), |
| 30 | b'FooBar123') | 30 | b'FooBar123') |
| 31 | cs.assert_called('GET', '/servers/1234/os-server-password') | 31 | self.assert_called('GET', '/servers/1234/os-server-password') |
| 32 | 32 | ||
| 33 | -- | ||
| 34 | 1.9.3 | ||
| 35 | |||
