authentik setup and tracing #2

Merged
dan merged 69 commits from working-setup into dev 2023-11-27 17:01:47 +01:00
Showing only changes of commit a2718084bc - Show all commits

View file

@ -26,7 +26,7 @@ class Runner:
self.config: dict[str, str] = dotenv_values(dotenv_path) # type: ignore
self.output_dir = output_dir
self.session_id = session_id
self.dir_manager = DirManager(output_dir, session_id)
self.DIRS = DirManager(output_dir, session_id)
ic(f"creating instance of {self.__class__.__name__}")
assert self.test_dir_name is not None
@ -63,7 +63,7 @@ class Runner:
command_arguments.append(self.session_id)
# artifacts dir
output = self.dir_manager.RESULTS / full_test_path.stem
output = self.DIRS.RESULTS / full_test_path.stem
command_arguments.append("--output")
command_arguments.append(str(output))
@ -94,11 +94,11 @@ class Runner:
self._create_complete_file()
def _create_complete_file(self):
file_path = self.dir_manager.RESULTS / self.name
file_path = self.DIRS.RESULTS / self.name
with open(file_path, "w") as _:
pass # pass does nothing, so the file remains empty
pass # create empty file
def _check_dependencies(self):
finished_tests = [result.name for result in self.dir_manager.RESULTS.glob("*")]
finished_tests = [result.name for result in self.DIRS.RESULTS.glob("*")]
for dependencie in self.dependencies:
assert dependencie in finished_tests