[Zope3-checkins] CVS: Zope3/src/zope/app/traversing/tests -
test_etc.py:1.6
Jim Fulton
jim at zope.com
Tue Sep 2 17:46:54 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/traversing/tests
In directory cvs.zope.org:/tmp/cvs-serv16881/src/zope/app/traversing/tests
Modified Files:
test_etc.py
Log Message:
Added ISite, which is a marker interface indicating that an object is
a site.
When an object is made into a site, ISite is declared for it.
Change to test whether something is a site by testing whether
it (declares it) implements ISite.
=== Zope3/src/zope/app/traversing/tests/test_etc.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/traversing/tests/test_etc.py:1.5 Thu May 1 15:35:38 2003
+++ Zope3/src/zope/app/traversing/tests/test_etc.py Tue Sep 2 16:46:53 2003
@@ -35,7 +35,7 @@
def testServices(self):
from zope.app.traversing.namespace import etc
class C:
- def getServiceManager(self): return 42
+ def getSiteManager(self): return 42
self.assertEqual(etc('site', (), 'etc:site', C(), None), 42)
More information about the Zope3-Checkins
mailing list