diff --git a/authentik/outposts/tasks.py b/authentik/outposts/tasks.py index 5885358918..3018130c2f 100644 --- a/authentik/outposts/tasks.py +++ b/authentik/outposts/tasks.py @@ -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" diff --git a/authentik/outposts/tests/test_sa.py b/authentik/outposts/tests/test_sa.py index 4f36741a7a..59238a2cf8 100644 --- a/authentik/outposts/tests/test_sa.py +++ b/authentik/outposts/tests/test_sa.py @@ -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)