rename tests_dir to output_dir
This commit is contained in:
parent
3354859ec1
commit
8418e5aeb1
3 changed files with 12 additions and 12 deletions
|
|
@ -20,12 +20,12 @@ class Runner:
|
|||
sub_tests: list[SubTest] = []
|
||||
dependencies: list[str] = []
|
||||
|
||||
def __init__(self, dotenv_path: Path, tests_dir: Path, session_id: str):
|
||||
def __init__(self, dotenv_path: Path, output_dir: Path, session_id: str):
|
||||
self.dotenv_path = dotenv_path
|
||||
self.config: dict[str, str] = dotenv_values(dotenv_path) # type: ignore
|
||||
self.tests_dir = tests_dir
|
||||
self.output_dir = output_dir
|
||||
self.session_id = session_id
|
||||
self.dir_manager = DirManager(tests_dir, session_id)
|
||||
self.dir_manager = DirManager(output_dir, session_id)
|
||||
|
||||
ic(f"creating instance of {self.__class__.__name__}")
|
||||
assert self.test_dir_name is not None
|
||||
|
|
@ -55,8 +55,8 @@ class Runner:
|
|||
command_arguments.append("--env_file")
|
||||
command_arguments.append(str(self.dotenv_path))
|
||||
|
||||
command_arguments.append("--tests_dir")
|
||||
command_arguments.append(str(self.tests_dir))
|
||||
command_arguments.append("--output_dir")
|
||||
command_arguments.append(str(self.output_dir))
|
||||
|
||||
command_arguments.append("--session_id")
|
||||
command_arguments.append(self.session_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue