stages/invitation: fix linting
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
4f27a97e10
commit
f9bf491240
|
@ -144,7 +144,7 @@ class TestInvitationsAPI(APITestCase):
|
||||||
response = self.client.post(
|
response = self.client.post(
|
||||||
reverse("authentik_api:invitation-list"),
|
reverse("authentik_api:invitation-list"),
|
||||||
{"identifier": "test-token", "fixed_data": {}},
|
{"identifier": "test-token", "fixed_data": {}},
|
||||||
format="json"
|
format="json",
|
||||||
)
|
)
|
||||||
self.assertEqual(response.status_code, 201)
|
self.assertEqual(response.status_code, 201)
|
||||||
self.assertEqual(Invitation.objects.first().created_by, self.user)
|
self.assertEqual(Invitation.objects.first().created_by, self.user)
|
||||||
|
|
Reference in New Issue