[Zope3-checkins] CVS: Zope3/src/zope/app/interface/tests -
test_queryinterface.py:1.1
Nathan Yergler
nathan at yergler.net
Sat Mar 20 17:08:27 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/interface/tests
In directory cvs.zope.org:/tmp/cvs-serv8059/src/zope/app/interface/tests
Added Files:
test_queryinterface.py
Log Message:
Tests for new generic queryType function.
=== Added File Zope3/src/zope/app/interface/tests/test_queryinterface.py ===
##############################################################################
#
# Copyright (c) 2004 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.
#
##############################################################################
"""Doc test harness for queryType function.
$Id: test_queryinterface.py,v 1.1 2004/03/20 22:08:26 nathan Exp $
"""
import unittest
from zope.testing.doctestunit import DocTestSuite
from zope.interface import Interface
def test_suite():
suite = unittest.TestSuite()
suite.addTest(DocTestSuite("zope.app.interface"))
return suite
if __name__ == '__main__':
unittest.main()
More information about the Zope3-Checkins
mailing list