[Zope-Checkins] CVS: Zope3/lib/python/Zope/Configuration/tests/Contact - TestHandler.py:1.1.4.1 contact.zcml:1.1.4.1
Jim Fulton
jim@zope.com
Tue, 26 Mar 2002 19:46:47 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/Configuration/tests/Contact
In directory cvs.zope.org:/tmp/cvs-serv28160/lib/python/Zope/Configuration/tests/Contact
Added Files:
Tag: Zope-3x-branch
TestHandler.py contact.zcml
Log Message:
Merged in changes from contextual-directives branch.
Now, a leading dot in a dotted name implies the package the include
file was included from. It still defaults to ZopeProducts if a file
was not included via a package.
A few of the config files have been convered to use the
shorthand. The rest still can be converted.
I also checked this against Step 6 in the tutorial, which I will check
in in a moment.
=== Added File Zope3/lib/python/Zope/Configuration/tests/Contact/TestHandler.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
#
##############################################################################
"""
Revision information:
$Id: TestHandler.py,v 1.1.4.1 2002/03/27 00:46:46 jim Exp $
"""
class TestHandler:
"""Test handler. We only care whether we can find this.
"""
=== Added File Zope3/lib/python/Zope/Configuration/tests/Contact/contact.zcml ===
<zopeConfigure xmlns='http://namespaces.zope.org/zope'>
<directive name="test" namespace="test"
handler=".TestHandler." />
</zopeConfigure>