aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/snaps/health_check.py
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2017-06-29 17:17:33 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-06-29 17:17:33 +0000
commitfbc676b2bcf63382a39c5b54d47c608a20a8cfea (patch)
treeddc40706b9dd3ef75c008f46781e357dc699583e /functest/opnfv_tests/openstack/snaps/health_check.py
parent06fd297de11e9dd061fe001502f66f139f054098 (diff)
parent0d22e5c1e1d6b49a99f0ca5be722fdc50ed105a4 (diff)
Merge "SNAPS tests now support offline testing."
Diffstat (limited to 'functest/opnfv_tests/openstack/snaps/health_check.py')
-rw-r--r--functest/opnfv_tests/openstack/snaps/health_check.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/functest/opnfv_tests/openstack/snaps/health_check.py b/functest/opnfv_tests/openstack/snaps/health_check.py
index 4e94460c..1b8d0537 100644
--- a/functest/opnfv_tests/openstack/snaps/health_check.py
+++ b/functest/opnfv_tests/openstack/snaps/health_check.py
@@ -8,9 +8,8 @@
import unittest
-from functest.opnfv_tests.openstack.snaps.snaps_test_runner import \
- SnapsTestRunner
-from functest.utils.constants import CONST
+from functest.opnfv_tests.openstack.snaps.snaps_test_runner import (
+ SnapsTestRunner)
from snaps.openstack.tests.os_source_file_test import OSIntegrationTestCase
from snaps.openstack.tests.create_instance_tests import SimpleHealthCheck
@@ -35,15 +34,11 @@ class HealthCheck(SnapsTestRunner):
:param kwargs: the arguments to pass on
:return:
"""
- image_custom_config = None
-
- if hasattr(CONST, 'snaps_images_cirros'):
- image_custom_config = CONST.__getattribute__('snaps_images_cirros')
self.suite.addTest(
OSIntegrationTestCase.parameterize(
SimpleHealthCheck, os_creds=self.os_creds,
ext_net_name=self.ext_net_name,
use_keystone=self.use_keystone,
flavor_metadata=self.flavor_metadata,
- image_metadata=image_custom_config))
+ image_metadata=self.image_metadata))
return super(self.__class__, self).run()