21 lines
506 B
Python
21 lines
506 B
Python
from pathlib import Path
|
|
|
|
from src.runner import Runner, SubTest
|
|
|
|
|
|
def condition_always_true(dotenv_path: Path) -> bool:
|
|
return True
|
|
|
|
|
|
def condition_always_false(dotenv_path: Path) -> bool:
|
|
return False
|
|
|
|
|
|
class RunnerWordpress(Runner):
|
|
name = "wordpress"
|
|
test_dir_name = "tests_wordpress"
|
|
# main_test_name = "test_wordpress.py"
|
|
sub_tests = [
|
|
SubTest(condition=condition_always_true, test_file="test_wordpress_feature1.py"),
|
|
]
|
|
dependencies: list[str] = ["authentik"]
|