aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/tempest/tempest.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-07-17 13:19:54 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-07-17 14:09:24 +0200
commit8e96ddfb6a6548a9a7a9b4a686e01378425a1cd8 (patch)
tree4cc932a83942c8c8d97e32e298341ae868d373c1 /functest/opnfv_tests/openstack/tempest/tempest.py
parent6812e47c760a202c920271bcc87b3d183b2f61e1 (diff)
Leverage cloudify_ims on Cloudify
It also defines 2 new methods to avoid duplicating code: - TenantNetwork1.get_public_auth_url() - VmReady1.publish_image_alt() Shaker and Tempest are updated as well. Change-Id: Ie9095c57c580b95f067d5a8275ad71818b4df335 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/opnfv_tests/openstack/tempest/tempest.py')
-rw-r--r--functest/opnfv_tests/openstack/tempest/tempest.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/functest/opnfv_tests/openstack/tempest/tempest.py b/functest/opnfv_tests/openstack/tempest/tempest.py
index 52cc31c4a..6333e2441 100644
--- a/functest/opnfv_tests/openstack/tempest/tempest.py
+++ b/functest/opnfv_tests/openstack/tempest/tempest.py
@@ -317,8 +317,7 @@ class TempestCommon(singlevm.VmReady1):
os.makedirs(self.res_dir)
compute_cnt = len(self.cloud.list_hypervisors())
- self.image_alt = self.publish_image(
- '{}-img_alt_{}'.format(self.case_name, self.guid))
+ self.image_alt = self.publish_image_alt()
self.flavor_alt = self.create_flavor_alt()
LOGGER.debug("flavor: %s", self.flavor_alt)