summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 9d787359e..0dd860d26 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):
"""