diff options
Diffstat (limited to 'cherrypy/test/test_core.py')
| -rw-r--r-- | cherrypy/test/test_core.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cherrypy/test/test_core.py b/cherrypy/test/test_core.py index 3c39f5cd..0956a94a 100644 --- a/cherrypy/test/test_core.py +++ b/cherrypy/test/test_core.py @@ -262,12 +262,12 @@ class CoreRequestHandlingTest(helper.CPWebCase): class MultiHeader(Test): - @cherrypy.tools.append_headers(header_list=[ - (ntob('WWW-Authenticate'), ntob('Negotiate')), - (ntob('WWW-Authenticate'), ntob('Basic realm="foo"')), - ]) def header_list(self): pass + header_list = cherrypy.tools.append_headers(header_list=[ + (ntob('WWW-Authenticate'), ntob('Negotiate')), + (ntob('WWW-Authenticate'), ntob('Basic realm="foo"')), + ])(header_list) def commas(self): cherrypy.response.headers['WWW-Authenticate'] = 'Negotiate,Basic realm="foo"' |
