Bump versions of pycodestyle and pep8-naming

This commit is contained in:
Raphael Michel
2022-02-13 20:39:31 +01:00
parent a307cf8934
commit a37ed6f001
16 changed files with 65 additions and 65 deletions

View File

@@ -133,10 +133,10 @@ def test_ignore_get(token_client, organizer, event):
@pytest.mark.django_db
def test_ignore_outside_api(token_client, organizer):
resp = token_client.post('/control/login'.format(organizer.slug),
resp = token_client.post('/control/login',
PAYLOAD, format='json', HTTP_X_IDEMPOTENCY_KEY='foo')
assert resp.status_code == 200
resp = token_client.post('/control/invalid/'.format(organizer.slug),
resp = token_client.post('/control/invalid/',
PAYLOAD, format='json', HTTP_X_IDEMPOTENCY_KEY='foo')
assert resp.status_code == 302