diff --git a/tests/test_response.py b/tests/test_response.py index fb213b56..661ec673 100644 --- a/tests/test_response.py +++ b/tests/test_response.py @@ -181,6 +181,7 @@ def test_file_head_response(file_name, static_file_directory): @pytest.mark.parametrize('file_name', ['test.file', 'decode me.txt', 'python.png']) def test_file_stream_response(file_name, static_file_directory): app = Sanic('test_file_helper') + app.config.REQUEST_TIMEOUT = 120 @app.route('/files/', methods=['GET']) def file_route(request, filename): file_path = os.path.join(static_file_directory, filename) @@ -224,4 +225,4 @@ def test_file_stream_head_response(file_name, static_file_directory): assert 'Content-Length' in response.headers assert int(response.headers[ 'Content-Length']) == len( - get_file_content(static_file_directory, file_name)) \ No newline at end of file + get_file_content(static_file_directory, file_name))