[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/Folder/tests - testFolder.py:1.1.2.1
Christian Theune
ct@gocept.com
Sat, 18 May 2002 06:21:59 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/Folder/tests
In directory cvs.zope.org:/tmp/cvs-serv29433
Added Files:
Tag: ctheune-foldermove-branch
testFolder.py
Log Message:
Renamed testFolder.py to ../../Content/Folder/tests/testFolder.py
=== Added File Zope3/lib/python/Zope/App/OFS/Content/Folder/tests/testFolder.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.
#
##############################################################################
import unittest
from unittest import TestCase
from Zope.ComponentArchitecture.tests.testServiceManagerContainer \
import BaseTestServiceManagerContainer
from Zope.App.OFS.Container.tests.testIContainer import BaseTestIContainer
class Test(BaseTestIContainer, BaseTestServiceManagerContainer, TestCase):
def _Test__new(self):
from Zope.App.OFS.Folder.Folder import Folder
return Folder()
def test_suite():
loader = unittest.TestLoader()
return loader.loadTestsFromTestCase(Test)
if __name__=='__main__':
unittest.TextTestRunner().run( test_suite() )