############################################################################## # # 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.1 (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. # ############################################################################## """Test renaming of components $Id: test_rename.py 67628 2006-04-26 22:28:30Z jim $ """ import unittest from zope.testing.doctestunit import DocTestSuite from zope.component import testing, eventtesting from zope.app.container.tests.placelesssetup import PlacelessSetup container_setup = PlacelessSetup() def setUp(test): testing.setUp() eventtesting.setUp() container_setup.setUp() def test_suite(): return unittest.TestSuite(( DocTestSuite('zope.copypastemove', setUp=setUp, tearDown=testing.tearDown), )) if __name__=='__main__': unittest.main(defaultTest='test_suite')