Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cafy_pytest/cafy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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__()
Expand Down