Commit 530b53d0 authored by Stefan H. Holek's avatar Stefan H. Holek

Adapt example tests to 'handle_errors' fix (r38608).

parent 16bd1d4e
......@@ -112,7 +112,7 @@ Test Server Error
>>> print http(r"""
... GET /test_folder_1_/script?a=2 HTTP/1.1
... """, handle_errors=False)
... """, handle_errors=True)
HTTP/1.1 500 Internal Server Error
...Content-Type: text/html...TypeError...
......@@ -121,7 +121,7 @@ Test Unauthorized
>>> self.folder.index_html.manage_permission('View', ['Owner'])
>>> print http(r"""
... GET /test_folder_1_/index_html HTTP/1.1
... """, handle_errors=False)
... """, handle_errors=True)
HTTP/1.1 401 Unauthorized
...
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment