mirror of
https://github.com/pretix/pretix.git
synced 2026-10-01 19:14:43 +00:00
fix flake8
This commit is contained in:
@@ -193,11 +193,9 @@ def test_meta_property_patch(token_client, organizer, event_meta_property):
|
||||
}
|
||||
)
|
||||
assert resp.status_code == 400
|
||||
#assert resp.data == 123
|
||||
assert str(resp.data["choices"][0]["label"][0]) == "Invalid data type."
|
||||
assert str(resp.data["choices"][1]["label"][0]) == "All entries must be strings."
|
||||
|
||||
|
||||
resp = token_client.patch(
|
||||
'/api/v1/organizers/{}/event_meta_properties/{}/'
|
||||
.format(organizer.slug, event_meta_property.pk),
|
||||
|
||||
Reference in New Issue
Block a user