add dependencies for runners

This commit is contained in:
Daniel 2023-11-23 00:38:14 +01:00
parent 665fd34ddd
commit e18e0ea99e
2 changed files with 2 additions and 0 deletions

View file

@ -15,6 +15,7 @@ class Runner:
test_dir_name: Optional[Path] = None
main_test_name: Optional[str] = None
sub_tests: list[SubTest] = []
dependencies: list[str] = []
def __init__(self, dotenv_path: Path, tests_dir: Path, session_id: str):
self.dotenv_path = dotenv_path

View file

@ -18,3 +18,4 @@ class RunnerWordpress(Runner):
SubTest(condition=condition_always_false, test_file="test_wordpress_feature1.py"),
SubTest(condition=condition_always_true, test_file="conftest.py"),
]
dependencies: list[str] = ["authentik"]