[Zope3-checkins] CVS: Zope3/src/zope/app/publication/tests - test_zopepublication.py:1.30

Philipp von Weitershausen philikon at philikon.de
Sat Mar 20 16:32:50 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/publication/tests
In directory cvs.zope.org:/tmp/cvs-serv1941/src/zope/app/publication/tests

Modified Files:
	test_zopepublication.py 
Log Message:
don't need to implement our own location object.


=== Zope3/src/zope/app/publication/tests/test_zopepublication.py 1.29 => 1.30 ===
--- Zope3/src/zope/app/publication/tests/test_zopepublication.py:1.29	Sat Mar 20 08:37:27 2004
+++ Zope3/src/zope/app/publication/tests/test_zopepublication.py	Sat Mar 20 16:32:50 2004
@@ -46,6 +46,7 @@
 from zope.app.security.interfaces import IUnauthenticatedPrincipal, IPrincipal
 from zope.app.publication.zopepublication import ZopePublication
 from zope.app.folder import Folder, rootFolder
+from zope.app.location import Location as LocatableObject
 
 class Principal:
     implements(IPrincipal)
@@ -99,11 +100,6 @@
             return self.auth
         else:
             return default
-
-class LocatableObject(Persistent):
-    implements(ILocation)
-    __parent__ = None
-    __name__ = None
 
 class BasePublicationTests(PlacelessSetup, unittest.TestCase):
 




More information about the Zope3-Checkins mailing list