rename runner.name to runner.env_type
This commit is contained in:
parent
e415b8a16a
commit
a6c7a18e7b
7 changed files with 10 additions and 10 deletions
|
|
@ -10,6 +10,6 @@ def condition_always_false(dotenv_config: dict[str, str]) -> bool:
|
|||
|
||||
|
||||
class RunnerAuthentik(Runner):
|
||||
name = "authentik"
|
||||
env_type = "authentik"
|
||||
setups = [Test(test_file="setup_authentik.py")]
|
||||
# tests = [Test(test_file="test_authentik_dummy.py")]
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ from abratest.runner import Runner, Test
|
|||
class RunnerDemo(Runner):
|
||||
"""Every env file has a corresponding runner class"""
|
||||
|
||||
name: str = "demo" # name of the test, used for logging / output naming
|
||||
env_type = "demo" # name of the test, used for logging / output naming
|
||||
|
||||
# this indicates that tests from RunnerDemo depend on the setup from RunnerAuthentik.
|
||||
# RunnerDemo will only execute, when setup_authentik.py has finished successfully.
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ def condition_always_false(dotenv_config: dict[str, str]) -> bool:
|
|||
|
||||
|
||||
class RunnerNextcloud(Runner):
|
||||
name: str = "nextcloud"
|
||||
env_type = "nextcloud"
|
||||
dependencies = ["authentik"]
|
||||
setups = [Test(test_file="setup_nextcloud.py", prevent_skip=False)]
|
||||
tests = [
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ def condition_has_locale(dotenv_config: dict[str, str]) -> bool:
|
|||
|
||||
|
||||
class RunnerWordpress(Runner):
|
||||
name = "wordpress"
|
||||
env_type = "wordpress"
|
||||
dependencies = ["authentik"]
|
||||
setups = [Test(test_file="setup_wordpress.py")]
|
||||
tests = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue