tests: refactor test harness to split apart a single file (#21391)

* re-instate previously flaky test

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* break up big file

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* move geoip data to subdir

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* i am but a weak man

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* fix ldap disconnect in testing

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* account for mismatched uid due to test server process

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L.
2026-04-05 21:12:52 +01:00
committed by GitHub
parent debd09135a
commit a6775bc61e
41 changed files with 295 additions and 201 deletions
-3
View File
@@ -1,6 +1,5 @@
"""authentik e2e testing utilities"""
from os import environ
from time import sleep
from typing import Any
from unittest.case import TestCase
@@ -13,8 +12,6 @@ from docker.models.networks import Network
from authentik.lib.generators import generate_id
from authentik.root.test_runner import get_docker_tag
IS_CI = "CI" in environ
class DockerTestCase(TestCase):
"""Mixin for dealing with containers"""