[Zope3-checkins] CVS: Zope3/src/zope/app/services/tests - test_modulelookup.py:1.3
Stephan Richter
srichter@cosmos.phy.tufts.edu
Thu, 3 Jul 2003 11:42:52 -0400
Update of /cvs-repository/Zope3/src/zope/app/services/tests
In directory cvs.zope.org:/tmp/cvs-serv4253/src/zope/app/services/tests
Modified Files:
test_modulelookup.py
Log Message:
Fixed simple interface confusion. I was required to implement
IPrincipalSource to have ILoginPasswordPrincipalSource, which was no good,
since I was required to implement a write interface. However, I think this
was simply a typo, since the implementation of the interfaces did not make this assumption.
Also, I made two tests Py 2.3 compatible.
=== Zope3/src/zope/app/services/tests/test_modulelookup.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/services/tests/test_modulelookup.py:1.2 Mon Jun 30 12:37:14 2003
+++ Zope3/src/zope/app/services/tests/test_modulelookup.py Thu Jul 3 11:42:48 2003
@@ -69,7 +69,7 @@
>>> import zope.app.services.tests.test_modulelookup
>>> m = folder.findModule('zope.app.services.tests.test_modulelookup')
- >>> m is zope.app.services.tests.test_modulelookup
+ >>> int(m is zope.app.services.tests.test_modulelookup)
1
"""
@@ -80,7 +80,7 @@
>>> import zope.app.services.tests.test_modulelookup
>>> f = folder.resolve(
... 'zope.app.services.tests.test_modulelookup.test_resolve')
- >>> f is zope.app.services.tests.test_modulelookup.test_resolve
+ >>> int(f is zope.app.services.tests.test_modulelookup.test_resolve)
1
"""