diff options
author | Linda Wang <wangwulin@huawei.com> | 2017-04-05 02:08:54 +0000 |
---|---|---|
committer | Linda Wang <wangwulin@huawei.com> | 2017-04-05 02:34:49 +0000 |
commit | cc9ed6dfc7b5ae5ffc07288cdaf3f98c40252746 (patch) | |
tree | 835137c373900e962a588b5ec39ed8cf629d7540 /functest/opnfv_tests/openstack/snaps/health_check.py | |
parent | db9767d6871b3601265b46645d2ff7656f3a0bb4 (diff) |
Bugfix: Add case_name as constructor arg for snaps and rally
When running healthcheck tier and rally, it complains " __init__() got
an unexpected keyword argument 'case_name'"
Change-Id: I078094921f08b457b88beabee60eabf40b657411
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'functest/opnfv_tests/openstack/snaps/health_check.py')
-rw-r--r-- | functest/opnfv_tests/openstack/snaps/health_check.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/functest/opnfv_tests/openstack/snaps/health_check.py b/functest/opnfv_tests/openstack/snaps/health_check.py index 8fece746..6b3cfdd0 100644 --- a/functest/opnfv_tests/openstack/snaps/health_check.py +++ b/functest/opnfv_tests/openstack/snaps/health_check.py @@ -21,11 +21,10 @@ class HealthCheck(SnapsTestRunner): creates a VM with a single port with an IPv4 address that is assigned by DHCP. This test then validates the expected IP with the actual """ - def __init__(self): - super(HealthCheck, self).__init__() + def __init__(self, case_name="snaps_health_check"): + super(HealthCheck, self).__init__(case_name) self.suite = unittest.TestSuite() - self.case_name = "snaps_health_check" image_custom_config = None if hasattr(CONST, 'snaps_health_check'): |