stages/invitation: fix linting

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-11 23:09:09 +02:00
parent 4f27a97e10
commit f9bf491240
1 changed files with 1 additions and 1 deletions

View File

@ -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)