aports/community/py3-cherrypy/test_timeout.patch
Duncan Bellamy cef8ba3cee community/py3-cherrypy: move from testing
* remove setuptools_scm.patch as needed to set python module version
* add tutorial sub package with tutorial files
2021-12-05 20:07:11 +00:00

15 lines
492 B
Diff

increase time suggested here:
https://github.com/cherrypy/cherrypy/issues/1896
--- a/cherrypy/test/test_static.py
+++ b/cherrypy/test/test_static.py
@@ -76,7 +76,7 @@
class Root:
@cherrypy.expose
- @cherrypy.config(**{'response.stream': True})
+ @cherrypy.config(**{'response.stream': True, 'server.socket_timeout': 5})
def bigfile(self):
self.f = static.serve_file(bigfile_filepath)
return self.f