rename tests_dir to output_dir
This commit is contained in:
parent
3354859ec1
commit
8418e5aeb1
3 changed files with 12 additions and 12 deletions
|
|
@ -10,7 +10,7 @@ from src.tests_wordpress.runner_wordpress import RunnerWordpress
|
|||
|
||||
|
||||
class TestRunner(Protocol):
|
||||
def __init__(self, dotenv_path: Path, tests_dir: Path, session_id: str):
|
||||
def __init__(self, dotenv_path: Path, output_dir: Path, session_id: str):
|
||||
...
|
||||
|
||||
def run_setup(self):
|
||||
|
|
@ -50,7 +50,7 @@ class Wrapper:
|
|||
for env_file in env_files:
|
||||
config: dict[str, str] = dotenv_values(env_file) # type: ignore
|
||||
RunnerClass = RUNNER_DICT[config["TYPE"]]
|
||||
runners.append(RunnerClass(dotenv_path=env_file, tests_dir=self.output_dir, session_id=self.session_id))
|
||||
runners.append(RunnerClass(dotenv_path=env_file, output_dir=self.output_dir, session_id=self.session_id))
|
||||
return runners
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue