diff --git a/Pipfile b/Pipfile index 27b82ac98..03c5f2a2c 100644 --- a/Pipfile +++ b/Pipfile @@ -49,9 +49,6 @@ ua-parser = "*" deepmerge = "*" colorama = "*" -[requires] -python_version = "3.9" - [dev-packages] bandit = "*" black = "==21.5b1" diff --git a/Pipfile.lock b/Pipfile.lock index e6143a8a2..40ca3c953 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,12 +1,10 @@ { "_meta": { "hash": { - "sha256": "f0befa9b3dacc1c3363b9442fa7a43f6be2c46a8fcb80a994230d288a384e54d" + "sha256": "19d5324fd1a4af125ed57a683030ca14ee2d3648117748e4b32656875484728e" }, "pipfile-spec": 6, - "requires": { - "python_version": "3.9" - }, + "requires": {}, "sources": [ { "name": "pypi", diff --git a/authentik/stages/consent/tests.py b/authentik/stages/consent/tests.py index dd0d46ea9..f1b10bc86 100644 --- a/authentik/stages/consent/tests.py +++ b/authentik/stages/consent/tests.py @@ -1,6 +1,7 @@ """consent tests""" from time import sleep +from django.http.response import HttpResponse from django.urls import reverse from django.utils.encoding import force_str from rest_framework.test import APITestCase @@ -40,7 +41,7 @@ class TestConsentStage(APITestCase): session = self.client.session session[SESSION_KEY_PLAN] = plan session.save() - response = self.client.post( + response: HttpResponse = self.client.post( reverse("authentik_api:flow-executor", kwargs={"flow_slug": flow.slug}), {}, )