[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZopePublication/tests - testZopePublication.py:1.7
Jim Fulton
jim@zope.com
Fri, 12 Jul 2002 15:28:35 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/ZopePublication/tests
In directory cvs.zope.org:/tmp/cvs-serv21500/lib/python/Zope/App/ZopePublication/tests
Modified Files:
testZopePublication.py
Log Message:
Finally added a configuration directive for registering traversal
namespace handlers:
<traversalNamespace name="etc" handler=".EtcNamespace.etc" />
Added a "skin" namespace so you can play with Sidbei's new UI work
by adding ++skin++ZopeTop to the front of your URLs:
http://localhost:8080/++skin++ZopeTop
Added some needed __init__ modules to some of the new ZopeTop packages
and fixed up ZopeTop configure.zcml.
=== Zope3/lib/python/Zope/App/ZopePublication/tests/testZopePublication.py 1.6 => 1.7 ===
get_transaction().commit()
connection.close()
+
+
+ from Zope.App.Traversing.Namespaces import provideNamespaceHandler
+ from Zope.App.Traversing.PresentationNamespaces import view, resource
+ provideNamespaceHandler('view', view)
+ provideNamespaceHandler('resource', resource)
+
+
def tearDown(self):
setSecurityPolicy(self.policy) # XXX still needed?