runner is executed authentik setup als function, without pytest

This commit is contained in:
Daniel 2023-11-24 10:27:54 +01:00
parent 2e4d0247cf
commit 702791e5cd
7 changed files with 111 additions and 1 deletions

View file

@ -3,6 +3,7 @@ from typing import Callable, Optional, TypedDict
import pytest
from dirmanager import DirManager
from dotenv import dotenv_values
from icecream import ic
@ -19,6 +20,7 @@ class Runner:
def __init__(self, dotenv_path: Path, tests_dir: Path, session_id: str):
self.dotenv_path = dotenv_path
self.config: dict[str, str] = dotenv_values(dotenv_path)
self.tests_dir = tests_dir
self.session_id = session_id
self.dir_manager = DirManager(tests_dir, session_id)