Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
f0cc9dd1
Commit
f0cc9dd1
authored
Mar 23, 2006
by
Stefan H. Holek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made functional doctests set the Www-Authenticate header.
parent
f6589de5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
lib/python/Testing/ZopeTestCase/doc/CHANGES.txt
lib/python/Testing/ZopeTestCase/doc/CHANGES.txt
+2
-1
lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
...on/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
+1
-0
lib/python/Testing/ZopeTestCase/zopedoctest/functional.py
lib/python/Testing/ZopeTestCase/zopedoctest/functional.py
+1
-0
No files found.
lib/python/Testing/ZopeTestCase/doc/CHANGES.txt
View file @
f0cc9dd1
...
...
@@ -4,7 +4,8 @@ Unreleased
than GET or HEAD while omitting the stdin argument.
- installProduct() now becomes a noop if ZopeTestCase did not apply its
patches.
- Made the functional doc tests set the cookie related headers.
- Made the functional doctests set the cookie related headers.
- Made functional doctests set the Www-Authenticate header.
- Made sure logging is configured. Read $INSTANCE_HOME/log.ini if it exists.
0.9.8 (Zope 2.8 edition)
...
...
lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
View file @
f0cc9dd1
...
...
@@ -124,6 +124,7 @@ Test Unauthorized
... """, handle_errors=True)
HTTP/1.1 401 Unauthorized
...
Www-Authenticate: basic realm=...
Test Basic Authentication
...
...
lib/python/Testing/ZopeTestCase/zopedoctest/functional.py
View file @
f0cc9dd1
...
...
@@ -182,6 +182,7 @@ def http(request_string, handle_errors=True):
header_output.setResponseStatus(response.getStatus(), response.errmsg)
header_output.setResponseHeaders(response.headers)
header_output.appendResponseHeaders(response._cookie_list())
header_output.appendResponseHeaders(response.accumulated_headers.splitlines())
# Restore previous security manager, which may have been changed
# by calling the publish method above
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment