[Zope3-checkins] CVS: Zope3/src/zope/app/services/tests - test_type.py:1.1

Jim Fulton jim@zope.com
Wed, 29 Jan 2003 13:49:49 -0500


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

Added Files:
	test_type.py 
Log Message:
Added a persistent type registry.


=== Added File Zope3/src/zope/app/services/tests/test_type.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.
#
##############################################################################
"""XXX short summary goes here.

XXX longer description goes here.

$Id: test_type.py,v 1.1 2003/01/29 18:49:46 jim Exp $
"""

from unittest import TestSuite, makeSuite
from zope.interface.tests.test_type import TestTypeRegistry
from zope.app.services.type import PersistentTypeRegistry

class Test(TestTypeRegistry):

    def new_instance(self):
        return PersistentTypeRegistry()


def test_suite():
    return TestSuite((
        makeSuite(Test),
        ))