[Zope3-checkins] CVS: Zope3/src/zope/app/container/tests - test_constraints.py:1.1

Jim Fulton cvs-admin at zope.org
Mon Dec 1 11:19:22 EST 2003


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

Added Files:
	test_constraints.py 
Log Message:
Added facilities for expressing and testing containment constraints.


=== Added File Zope3/src/zope/app/container/tests/test_constraints.py ===
##############################################################################
#
# Copyright (c) 2003 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.
#
##############################################################################
"""Container constraint tests

$Id: test_constraints.py,v 1.1 2003/12/01 16:19:21 jim Exp $
"""
import unittest
from zope.testing.doctestunit import DocTestSuite

def test_suite():
    return unittest.TestSuite((
        DocTestSuite('zope.app.container.constraints'),
        ))

if __name__ == '__main__': unittest.main()




More information about the Zope3-Checkins mailing list