add logging
This commit is contained in:
parent
9da2f2526d
commit
4534ee892b
1 changed files with 2 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ class Runner:
|
|||
sub_tests: list[SubTest] = []
|
||||
|
||||
def __init__(self, dotenv_path: Path):
|
||||
ic(f"creating instance of {self.__class__.__name__}")
|
||||
assert self.test_dir_name is not None
|
||||
self.root_dir = Path(__file__).parent
|
||||
self.dotenv_path = dotenv_path
|
||||
|
|
@ -25,6 +26,7 @@ class Runner:
|
|||
self._run_pytest(self.main_test_name)
|
||||
|
||||
def _run_pytest(self, test_name: str):
|
||||
ic(f"running test: {test_name}")
|
||||
pytest.main(
|
||||
[
|
||||
"-v",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue