add api testing (#14)

* add fixture to make api calls with authentification

* add authentik test that checks the status of all blueprints

* add option to append any kind of data to html report

Reviewed-on: local-it-infrastructure/e2e_tests#14
Co-authored-by: Daniel <d.brummerloh@gmail.com>
Co-committed-by: Daniel <d.brummerloh@gmail.com>
This commit is contained in:
Daniel 2023-12-09 12:34:25 +01:00 committed by dan
parent d1ff1183a5
commit 873bf73ae8
8 changed files with 89 additions and 19 deletions

View file

@ -23,6 +23,7 @@ dependencies = [
"imbox == 0.9.8",
"hatchling == 1.18.0",
"icecream",
"tabulate",
]
[project.entry-points.pytest11]
@ -49,6 +50,6 @@ line-length = 120
target-version = "py311"
[tool.pytest.ini_options]
python_functions = "test_* setup_*"
python_functions = "setup_* test_* cleanup_*"
norecursedirs = ".* previous-work recipes"
testpaths = "tests"