diff --git a/cafy_pytest/cafy.py b/cafy_pytest/cafy.py index cd40408..84fd5d7 100644 --- a/cafy_pytest/cafy.py +++ b/cafy_pytest/cafy.py @@ -5,6 +5,9 @@ from allure_commons._allure import StepContext as AllureStepContext import pytest from utils.cafyexception import CafyException +from logger.cafylog import CafyLog +log = CafyLog("cafy_pytest") + class Cafy: class Globals: @@ -45,6 +48,7 @@ def __init__(self, title, params, logger=None, blocking=True): super().__init__(title, params) self.blocking = blocking self.logger = logger + log.banner(title) def __enter__(self): super().__enter__()