fix outposts tests

Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Marc 'risson' Schmitt
2025-03-28 17:40:01 +01:00
parent 781704fa38
commit d6c4f97158
2 changed files with 1 additions and 4 deletions

View File

@ -44,7 +44,6 @@ from authentik.providers.rac.controllers.docker import RACDockerController
from authentik.providers.rac.controllers.kubernetes import RACKubernetesController
from authentik.providers.radius.controllers.docker import RadiusDockerController
from authentik.providers.radius.controllers.kubernetes import RadiusKubernetesController
from authentik.root.celery import CELERY_APP
LOGGER = get_logger()
CACHE_KEY_OUTPOST_DOWN = "goauthentik.io/outposts/teardown/%s"

View File

@ -8,10 +8,9 @@ from guardian.models import UserObjectPermission
from authentik.core.tests.utils import create_test_cert, create_test_flow
from authentik.outposts.models import Outpost, OutpostType
from authentik.providers.proxy.models import ProxyProvider
from authentik.tasks.tests import TaskTestCase
class OutpostTests(TaskTestCase):
class OutpostTests(TestCase):
"""Outpost Tests"""
def setUp(self) -> None:
@ -30,7 +29,6 @@ class OutpostTests(TaskTestCase):
name="test",
type=OutpostType.PROXY,
)
self.tasks_join()
# Before we add a provider, the user should only have access to the outpost
permissions = UserObjectPermission.objects.filter(user=outpost.user)