Fix pdf_data selection

This commit is contained in:
Raphael Michel
2022-07-21 09:11:33 +02:00
parent 0d1ebf4e58
commit 4cc249e20e
4 changed files with 74 additions and 2 deletions

View File

@@ -1303,6 +1303,7 @@ def test_search(token_client, organizer, event, clist, clist_all, item, other_it
))
assert resp.status_code == 200
assert [p1] == resp.data['results']
assert not resp.data['results'][0].get('pdf_data')
@pytest.mark.django_db