[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/ Fixed
some tests for which the error output changed by replacing
Jim Fulton
jim at zope.com
Sun Mar 12 16:46:58 EST 2006
Log message for revision 65933:
Fixed some tests for which the error output changed by replacing
zope.exception.NotFoundError with LookupError.
Changed:
U Zope3/branches/jim-adapter/src/zope/contentprovider/README.txt
U Zope3/branches/jim-adapter/src/zope/viewlet/README.txt
-=-
Modified: Zope3/branches/jim-adapter/src/zope/contentprovider/README.txt
===================================================================
--- Zope3/branches/jim-adapter/src/zope/contentprovider/README.txt 2006-03-12 21:46:56 UTC (rev 65932)
+++ Zope3/branches/jim-adapter/src/zope/contentprovider/README.txt 2006-03-12 21:46:58 UTC (rev 65933)
@@ -391,7 +391,7 @@
>>> print errorview()
Traceback (most recent call last):
...
- ContentProviderLookupError: u'mypage.UnknownName'
+ ContentProviderLookupError: mypage.UnknownName
Additional Data from TAL
Modified: Zope3/branches/jim-adapter/src/zope/viewlet/README.txt
===================================================================
--- Zope3/branches/jim-adapter/src/zope/viewlet/README.txt 2006-03-12 21:46:56 UTC (rev 65932)
+++ Zope3/branches/jim-adapter/src/zope/viewlet/README.txt 2006-03-12 21:46:58 UTC (rev 65933)
@@ -170,7 +170,7 @@
>>> leftColumn['stock']
Traceback (most recent call last):
...
- ComponentLookupError: 'No provider with name `stock` found.'
+ ComponentLookupError: No provider with name `stock` found.
>>> leftColumn.get('stock') is None
True
More information about the Zope3-Checkins
mailing list