e2e_tests/src/tests_wordpress/runner_wordpress.py
2023-11-21 21:50:40 +01:00

19 lines
507 B
Python

from pathlib import Path
from runner import Runner, SubTest
def condition_feature1(dotenv_path: Path) -> bool:
"""returns true if feature 1 should be executed based on the dotenv file given as a Path"""
def condition_always_true(dotenv_path: Path) -> bool:
return True
class RunnerWordpress(Runner):
test_dir_name = "tests_wordpress"
main_test_name = "test_wordpress.py"
sub_tests = [
SubTest(condition=condition_always_true, test_file="test_wordpress_feature1.py")
]