add pre_test script

ensure teardown removes the test scenes
This commit is contained in:
2025-06-11 13:34:31 +01:00
parent e7a561c7b4
commit 377a9df824
3 changed files with 40 additions and 1 deletions

View File

@@ -27,6 +27,7 @@ path = "src/slobs_cli/__about__.py"
cli.cmd = "slobs-cli {args}"
cli.env_file = ".env"
pre_test.cmd = "python tests/setup.py"
test.cmd = "pytest {args}"
test.env_file = ".env"
post_test.cmd = "python tests/teardown.py"