[Checkins] SVN: grok/branches/ulif-paster-loginhtml/src/grok/ftests/security/json.py Fix test. Unauthorized is not raised any more, but we get an HTTPError instead.
Uli Fouquet
uli at gnufix.de
Sun Jul 12 11:41:49 EDT 2009
Log message for revision 101839:
Fix test. Unauthorized is not raised any more, but we get an HTTPError instead.
Changed:
U grok/branches/ulif-paster-loginhtml/src/grok/ftests/security/json.py
-=-
Modified: grok/branches/ulif-paster-loginhtml/src/grok/ftests/security/json.py
===================================================================
--- grok/branches/ulif-paster-loginhtml/src/grok/ftests/security/json.py 2009-07-12 15:41:00 UTC (rev 101838)
+++ grok/branches/ulif-paster-loginhtml/src/grok/ftests/security/json.py 2009-07-12 15:41:49 UTC (rev 101839)
@@ -16,7 +16,7 @@
>>> browser.open('http://localhost/dance')
Traceback (most recent call last):
...
- Unauthorized: (<grok.meta.MammothJSON object at ...>, '__call__', 'zope.ManageContent')
+ HTTPError: HTTP Error 401: Unauthorized
Let's log in as the manager now. We should be able to access the method now::
More information about the Checkins
mailing list