We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 489a3fd commit f7011dfCopy full SHA for f7011df
tests/api/test_files.py
@@ -170,7 +170,7 @@ def test_too_big_file(self):
170
data=dict(presentation=(io.BytesIO(test_pdf.read()), 'test.pdf')),
171
content_type='multipart/form-data',
172
)
173
- check_json_response(response, {'message': 'Presentation file should not exceed 0.001MB.'}, 404)
+ check_json_response(response, {'message': 'Presentation file should not exceed 0.001MB.'}, 413)
174
175
def test_file_is_not_pdf(self):
176
with patch('app.api.files.check_auth', return_value=True), \
0 commit comments