diff options
author | Linda Wang <wangwulin@huawei.com> | 2017-06-23 05:11:31 +0000 |
---|---|---|
committer | Linda Wang <wangwulin@huawei.com> | 2017-06-24 02:21:35 +0000 |
commit | 5cfd8ce686f8b539d01a3e7e009e7d5a18b8228f (patch) | |
tree | 0b90754180bcbc4626e3961a3684811801aa53a3 /functest/tests/unit/utils/test_openstack_utils.py | |
parent | e62f0f289621c843e60f21f69a8e87e7d2778f36 (diff) |
Use glance to list images
1. Images list is not supported by novaclient 8.0.0
2. It moves images list out of nova and into glance
Change-Id: I2a2d40a2ca3a0cf1ebfb55697b3c58af8748a805
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'functest/tests/unit/utils/test_openstack_utils.py')
-rw-r--r-- | functest/tests/unit/utils/test_openstack_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/tests/unit/utils/test_openstack_utils.py b/functest/tests/unit/utils/test_openstack_utils.py index 0f06b1e1..8dab87bb 100644 --- a/functest/tests/unit/utils/test_openstack_utils.py +++ b/functest/tests/unit/utils/test_openstack_utils.py @@ -1472,7 +1472,7 @@ class OSUtilsTesting(unittest.TestCase): def test_get_images_default(self): self.assertEqual(openstack_utils. - get_images(self.nova_client), + get_images(self.glance_client), [self.image]) @mock.patch('functest.utils.openstack_utils.logger.error') |