root: remove python requirement from pipfile

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-09-16 10:28:50 +02:00
parent 471f7d9c62
commit 124071f9be
3 changed files with 4 additions and 8 deletions

View file

@ -49,9 +49,6 @@ ua-parser = "*"
deepmerge = "*"
colorama = "*"
[requires]
python_version = "3.9"
[dev-packages]
bandit = "*"
black = "==21.5b1"

6
Pipfile.lock generated
View file

@ -1,12 +1,10 @@
{
"_meta": {
"hash": {
"sha256": "f0befa9b3dacc1c3363b9442fa7a43f6be2c46a8fcb80a994230d288a384e54d"
"sha256": "19d5324fd1a4af125ed57a683030ca14ee2d3648117748e4b32656875484728e"
},
"pipfile-spec": 6,
"requires": {
"python_version": "3.9"
},
"requires": {},
"sources": [
{
"name": "pypi",

View file

@ -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}),
{},
)