cartads cs: adapt test to fixed string
This commit is contained in:
parent
75627fad53
commit
d8201119e6
|
@ -301,7 +301,7 @@ def test_pieces_management(connector, app, cached_data):
|
|||
assert resp.json[0]['token']
|
||||
|
||||
resp = app.post(data[2]['files'][0]['url'], upload_files=[('files[]', 'test.gif', '...')])
|
||||
assert resp.json == [{'error': 'The file shoule be a PDF document or a JPEG image.'}]
|
||||
assert resp.json == [{'error': 'The file should be a PDF document or a JPEG image.'}]
|
||||
|
||||
def test_send(connector, app, cached_data):
|
||||
CartaDSFile.objects.all().delete()
|
||||
|
|
Loading…
Reference in New Issue