mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Upgrade to Django 3.2 (#2056)
This commit is contained in:
@@ -67,7 +67,7 @@ def test_scoped_by_key(token_client, organizer):
|
||||
PAYLOAD, format='json', HTTP_X_IDEMPOTENCY_KEY='foo')
|
||||
assert resp.status_code == 201
|
||||
assert d1.data == json.loads(resp.content.decode())
|
||||
assert d1._headers == resp._headers
|
||||
assert d1.headers._store == resp.headers._store
|
||||
resp = token_client.post('/api/v1/organizers/{}/events/'.format(organizer.slug),
|
||||
PAYLOAD, format='json', HTTP_X_IDEMPOTENCY_KEY='bar')
|
||||
assert resp.status_code == 400
|
||||
|
||||
Reference in New Issue
Block a user