tests: correct a test (#54081)

This commit is contained in:
Nicolas Roche 2021-06-01 21:11:02 +02:00
parent e581d08c0a
commit 101a8ebbca
1 changed files with 1 additions and 1 deletions

View File

@ -512,7 +512,7 @@ def test_formdata_with_evolution_part_attachment(pub, local_user):
resp = get_app(pub).get(sign_uri('/api/forms/test/%s/?anonymise' % formdata.id, user=local_user))
assert len(resp.json['evolution']) == 1
assert 'parts' not in resp.json['evolution']
assert 'parts' not in resp.json['evolution'][0]
# check this doesn't get into list of forms API
resp = get_app(pub).get(sign_uri('/api/forms/test/list?full=on', user=local_user))