summaryrefslogtreecommitdiff
path: root/cherrypy/test/test_gzip.py
diff options
context:
space:
mode:
Diffstat (limited to 'cherrypy/test/test_gzip.py')
-rw-r--r--cherrypy/test/test_gzip.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/cherrypy/test/test_gzip.py b/cherrypy/test/test_gzip.py
index 17b50c59..aac8db91 100644
--- a/cherrypy/test/test_gzip.py
+++ b/cherrypy/test/test_gzip.py
@@ -23,16 +23,11 @@ def setup_server():
raise IndexError()
yield "Here be dragons"
noshow_stream.exposed = True
- noshow_stream._cp_config = {'stream_response': True}
+ noshow_stream._cp_config = {'response.stream': True}
cherrypy.tree.mount(Root())
- cherrypy.config.update({
- 'global': {'log_to_screen': False,
- 'environment': 'production',
- 'show_tracebacks': True,
- 'tools.gzip.on': True,
- },
- })
+ cherrypy.config.update({'environment': 'test_suite',
+ 'tools.gzip.on': True})
from cherrypy.test import helper