Easier setup by executing main from root working directory

This commit is contained in:
Daniel 2023-11-24 11:30:52 +01:00
parent a4bdb2e868
commit 2cb4a9d526
9 changed files with 23 additions and 21 deletions

View file

@ -2,10 +2,11 @@ from pathlib import Path
from typing import Callable, Optional, TypedDict
import pytest
from dirmanager import DirManager
from dotenv import dotenv_values
from icecream import ic
from src.dirmanager import DirManager
class SubTest(TypedDict):
condition: Callable[[Path], bool]
@ -13,7 +14,7 @@ class SubTest(TypedDict):
class Runner:
test_dir_name: Optional[Path] = None
test_dir_name: Optional[str] = None
main_test_name: Optional[str] = None
sub_tests: list[SubTest] = []
dependencies: list[str] = []