From cc9ed6dfc7b5ae5ffc07288cdaf3f98c40252746 Mon Sep 17 00:00:00 2001 From: Linda Wang Date: Wed, 5 Apr 2017 02:08:54 +0000 Subject: 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 --- functest/opnfv_tests/openstack/snaps/snaps_test_runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'functest/opnfv_tests/openstack/snaps/snaps_test_runner.py') diff --git a/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py b/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py index 9d723905..044a0bb0 100644 --- a/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py +++ b/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py @@ -19,8 +19,8 @@ class SnapsTestRunner(PyTestSuiteRunner): 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(SnapsTestRunner, self).__init__() + def __init__(self, case_name=''): + super(SnapsTestRunner, self).__init__(case_name) self.ext_net_name = snaps_utils.get_ext_net_name() self.logger = ft_logger.Logger(self.project_name).getLogger() -- cgit 1.2.3-korg