aboutsummaryrefslogtreecommitdiffstats
path: root/functest/core
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2017-05-18 15:02:45 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-18 15:02:45 +0000
commit54c02e2bd175a80a5659ddd4156c1166347efc93 (patch)
tree9b06c7c303e7e3484827f84a8a9aa4c3b9d328a5 /functest/core
parent4677fc843f6eaea0b35960f838452129b746d49e (diff)
parent08cb7e1e62d1485f3430a1e1e027c9c6d4e9f94a (diff)
Merge "Fix 2 issues related to logger in pytest_suite_runer.py"
Diffstat (limited to 'functest/core')
-rw-r--r--functest/core/pytest_suite_runner.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/functest/core/pytest_suite_runner.py b/functest/core/pytest_suite_runner.py
index 9d787359..0dd860d2 100644
--- a/functest/core/pytest_suite_runner.py
+++ b/functest/core/pytest_suite_runner.py
@@ -13,8 +13,6 @@ import time
from functest.core import testcase
-logging.basicConfig()
-
class PyTestSuiteRunner(testcase.TestCase):
"""
@@ -23,8 +21,8 @@ class PyTestSuiteRunner(testcase.TestCase):
"""
def __init__(self, **kwargs):
super(PyTestSuiteRunner, self).__init__(**kwargs)
- self.logger = logging.getLogger(self.__class__.__name__)
self.suite = None
+ self.logger = logging.getLogger(__name__)
def run(self, **kwargs):
"""