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

@ -4,4 +4,4 @@ from pytest_abra import Runner, Test
class RunnerAuthentik(Runner):
env_type = "authentik"
setups = [Test(test_file="setup_authentik.py")]
# tests = [Test(test_file="test_authentik_dummy.py")]
tests = [Test(test_file="test_authentik_blueprint_api.py")]