aboutsummaryrefslogtreecommitdiffstats
path: root/functest/core/pytest_suite_runner.py
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2017-04-05 02:08:54 +0000
committerLinda Wang <wangwulin@huawei.com>2017-04-05 02:34:49 +0000
commitcc9ed6dfc7b5ae5ffc07288cdaf3f98c40252746 (patch)
tree835137c373900e962a588b5ec39ed8cf629d7540 /functest/core/pytest_suite_runner.py
parentdb9767d6871b3601265b46645d2ff7656f3a0bb4 (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/core/pytest_suite_runner.py')
-rw-r--r--functest/core/pytest_suite_runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/core/pytest_suite_runner.py b/functest/core/pytest_suite_runner.py
index 4f777628..9cfaea7a 100644
--- a/functest/core/pytest_suite_runner.py
+++ b/functest/core/pytest_suite_runner.py
@@ -15,8 +15,8 @@ class PyTestSuiteRunner(base.TestCase):
This superclass is designed to execute pre-configured unittest.TestSuite()
objects
"""
- def __init__(self):
- super(PyTestSuiteRunner, self).__init__()
+ def __init__(self, case_name=''):
+ super(PyTestSuiteRunner, self).__init__(case_name)
self.suite = None
def run(self, **kwargs):