diff options
author | 2017-04-27 11:30:10 +0200 | |
---|---|---|
committer | 2017-04-27 11:30:10 +0200 | |
commit | bf245990d5b2d5d1e9593957b28457401934f54f (patch) | |
tree | e9e1e619da00d31e53739ef6298025a38e647b2a | |
parent | 0b569386b2234d938299c00de8b4d7b25f8ef7e8 (diff) |
Fixed issue caused previous patch which did not merge correctly.
JIRA: SNAPS-57
Change-Id: I60e7cf2fea37fc337ac7adc01283476a00aca99c
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
-rw-r--r-- | snaps/openstack/utils/tests/glance_utils_tests.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/snaps/openstack/utils/tests/glance_utils_tests.py b/snaps/openstack/utils/tests/glance_utils_tests.py index 37b14a5..23c741a 100644 --- a/snaps/openstack/utils/tests/glance_utils_tests.py +++ b/snaps/openstack/utils/tests/glance_utils_tests.py @@ -36,8 +36,7 @@ class GlanceSmokeTests(OSComponentTestCase): Tests to ensure that the proper credentials can connect. """ glance = glance_utils.glance_client(self.os_creds) - nova = nova_utils.nova_client(self.os_creds) - image = glance_utils.get_image(nova, glance, 'foo') + image = glance_utils.get_image(glance, 'foo') self.assertIsNone(image) def test_glance_connect_fail(self): @@ -48,8 +47,7 @@ class GlanceSmokeTests(OSComponentTestCase): with self.assertRaises(Exception): glance = glance_utils.glance_client(OSCreds('user', 'pass', 'url', 'project')) - nova = nova_utils.nova_client(self.os_creds) - glance_utils.get_image(nova, glance, 'foo') + glance_utils.get_image(glance, 'foo') class GlanceUtilsTests(OSComponentTestCase): |