[Zope3-checkins] SVN: Zope3/branches/ZopeX3-3.0/src/zope/
------------------------------------------------------------------------
Stephan Richter
srichter at cosmos.phy.tufts.edu
Wed Sep 1 10:21:51 EDT 2004
Log message for revision 27382:
------------------------------------------------------------------------
r27379 | srichter | 2004-09-01 10:03:14 -0400 (Wed, 01 Sep 2004) | 2 lines
Corrected grammar mistake.
------------------------------------------------------------------------
r27380 | srichter | 2004-09-01 10:04:18 -0400 (Wed, 01 Sep 2004) | 2 lines
Corrected typo.
------------------------------------------------------------------------
r27381 | srichter | 2004-09-01 10:06:28 -0400 (Wed, 01 Sep 2004) | 3 lines
Added a less comprehensive, but much simpler, example on how to use the
adapter registry and adapter hooks.
------------------------------------------------------------------------
Changed:
U Zope3/branches/ZopeX3-3.0/src/zope/app/tests/dochttp.py
A Zope3/branches/ZopeX3-3.0/src/zope/interface/human.txt
U Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/test_adapter.py
-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/tests/dochttp.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/tests/dochttp.py 2004-09-01 14:06:28 UTC (rev 27381)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/tests/dochttp.py 2004-09-01 14:21:51 UTC (rev 27382)
@@ -91,7 +91,7 @@
)
# We use map so as *not* to truncate at shortest input.
- # We want an error of the numberof requests and responses
+ # We want an error if the numberof requests and responses
# is different.
for request, response in map(None, requests, responses):
assert (request and response) or not (request or response)
Copied: Zope3/branches/ZopeX3-3.0/src/zope/interface/human.txt (from rev 27381, Zope3/trunk/src/zope/interface/human.txt)
Modified: Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/test_adapter.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/test_adapter.py 2004-09-01 14:06:28 UTC (rev 27381)
+++ Zope3/branches/ZopeX3-3.0/src/zope/interface/tests/test_adapter.py 2004-09-01 14:21:51 UTC (rev 27382)
@@ -136,7 +136,7 @@
def test_suite():
from zope.testing.doctestunit import DocFileSuite
return unittest.TestSuite((
- DocFileSuite('../adapter.txt', 'foodforthought.txt',
+ DocFileSuite('../adapter.txt', '../human.txt', 'foodforthought.txt',
globs={'__name__': '__main__'}),
doctest.DocTestSuite(),
))
More information about the Zope3-Checkins
mailing list