fix: set log level for pytest

This commit is contained in:
debugtalk
2022-06-17 21:01:13 +08:00
parent d63baed3d3
commit b5122521b4
5 changed files with 23 additions and 9 deletions

View File

@@ -27,7 +27,7 @@ from httprunner.models import (
VariablesMapping,
)
from httprunner.parser import Parser
from httprunner.utils import LOGGER_FORMAT, init_logger, merge_variables
from httprunner.utils import LOGGER_FORMAT, merge_variables
class SessionRunner(object):
@@ -54,7 +54,6 @@ class SessionRunner(object):
__log_path: Text = ""
def __init(self):
init_logger()
self.__config = self.config.struct()
self.__session_variables = self.__session_variables or {}
self.__start_at = 0