diff options
author | Linda Wang <wangwulin@huawei.com> | 2017-04-06 01:50:31 +0000 |
---|---|---|
committer | Linda Wang <wangwulin@huawei.com> | 2017-04-06 01:50:31 +0000 |
commit | cd1ee7d9bf639a7e2aa47f58317b9f93b73f5458 (patch) | |
tree | d2ce3d6e254cfb3552f2d111c02b6a0bbe8d65d3 /functest | |
parent | 7c79dd75b519ac22483de76b4433a9923da68ef6 (diff) |
Bugfix: Add case_name as constructor arg for snaps_smoke
JIRA: FUNCTEST-791
When running snaps_smoke, it complains " __init__() got
an unexpected keyword argument 'case_name'"
Change-Id: I4a59828ba735ba14a286d000d1d061be14878d1c
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'functest')
-rw-r--r-- | functest/opnfv_tests/openstack/snaps/smoke.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/functest/opnfv_tests/openstack/snaps/smoke.py b/functest/opnfv_tests/openstack/snaps/smoke.py index 45fa6de8..63d5c122 100644 --- a/functest/opnfv_tests/openstack/snaps/smoke.py +++ b/functest/opnfv_tests/openstack/snaps/smoke.py @@ -21,11 +21,10 @@ class SnapsSmoke(SnapsTestRunner): that exercise many of the OpenStack APIs within Keystone, Glance, Neutron, and Nova """ - def __init__(self): - super(SnapsSmoke, self).__init__() + def __init__(self, case_name="snaps_smoke"): + super(SnapsSmoke, self).__init__(case_name) self.suite = unittest.TestSuite() - self.case_name = "snaps_smoke" use_fip = CONST.snaps_use_floating_ips # The snaps smoke test uses the same config as the |