aboutsummaryrefslogtreecommitdiffstats
path: root/functest/core
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2017-05-08 06:33:13 +0000
committerLinda Wang <wangwulin@huawei.com>2017-05-09 02:15:25 +0000
commitcbdf115d7ed8cfe32017fe905dccc473d727bf30 (patch)
tree07f4cac55f3c9ef3a4cac7f21daece3c77519aa0 /functest/core
parent1d5e199517ff09d959a1240f3b4e715be799058b (diff)
Bugfix: initialize the logger for snaps
Testcases about snaps failed due to the absence of attribute 'logger'. Change-Id: I78c85e51f63afa767fa73aa12faea066ad432371 Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'functest/core')
-rw-r--r--functest/core/pytest_suite_runner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/functest/core/pytest_suite_runner.py b/functest/core/pytest_suite_runner.py
index 8b5da05e..21edc187 100644
--- a/functest/core/pytest_suite_runner.py
+++ b/functest/core/pytest_suite_runner.py
@@ -18,6 +18,7 @@ class PyTestSuiteRunner(base.TestCase):
def __init__(self, **kwargs):
super(PyTestSuiteRunner, self).__init__(**kwargs)
self.suite = None
+ self.logger = None
def run(self, **kwargs):
"""