diff options
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 | 10 |
1 files changed, 5 insertions, 5 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 60d5984..1cee4d0 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 | |||
@@ -21,12 +21,12 @@ Index: git/novaclient/tests/v1_1/test_servers.py | |||
21 | =================================================================== | 21 | =================================================================== |
22 | --- git.orig/novaclient/tests/v1_1/test_servers.py | 22 | --- git.orig/novaclient/tests/v1_1/test_servers.py |
23 | +++ git/novaclient/tests/v1_1/test_servers.py | 23 | +++ git/novaclient/tests/v1_1/test_servers.py |
24 | @@ -489,7 +489,7 @@ | 24 | @@ -501,7 +501,7 @@ |
25 | |||
26 | def test_get_password(self): | 25 | def test_get_password(self): |
27 | s = self.cs.servers.get(1234) | 26 | s = self.cs.servers.get(1234) |
28 | - self.assertEqual(s.get_password('novaclient/tests/idfake.pem'), | 27 | self.assertEqual(b'FooBar123', |
29 | + self.assertEqual(s.get_password('%PYTHON_SITEPACKAGES_DIR%/novaclient/tests/idfake.pem'), | 28 | - s.get_password('novaclient/tests/idfake.pem')) |
30 | b'FooBar123') | 29 | + s.get_password('%PYTHON_SITEPACKAGES_DIR%/novaclient/tests/idfake.pem')) |
31 | self.assert_called('GET', '/servers/1234/os-server-password') | 30 | self.assert_called('GET', '/servers/1234/os-server-password') |
32 | 31 | ||
32 | def test_get_password_without_key(self): | ||