[Zope3-checkins] CVS: Zope3/src/zope/app/container/tests - test_add.py:1.1.2.1 test_contained.py:1.1.2.1 test_remove.py:1.1.2.1 placelesssetup.py:1.2.26.1 baseizopeitemcontainer.py:NONE test_rename.py:NONE test_zopecontainer.py:NONE

Jim Fulton jim at zope.com
Mon Sep 8 15:22:21 EDT 2003


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

Modified Files:
      Tag: parentgeddon-branch
	placelesssetup.py 
Added Files:
      Tag: parentgeddon-branch
	test_add.py test_contained.py test_remove.py 
Removed Files:
      Tag: parentgeddon-branch
	baseizopeitemcontainer.py test_rename.py test_zopecontainer.py 
Log Message:
Checking in work in progress on parentgeddon-branch so Fred can help
me to get the tests passing.  Specific log entries will be provided
when we merge this into the head.


=== Added File Zope3/src/zope/app/container/tests/test_add.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.

$Id: test_add.py,v 1.1.2.1 2003/09/08 18:21:20 jim Exp $
"""
import unittest
from zope.testing.doctestunit import DocTestSuite


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

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


=== Added File Zope3/src/zope/app/container/tests/test_contained.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.
#
##############################################################################
import unittest
from zope.testing.doctestunit import DocTestSuite

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

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


=== Added File Zope3/src/zope/app/container/tests/test_remove.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.

$Id: test_remove.py,v 1.1.2.1 2003/09/08 18:21:20 jim Exp $
"""
import unittest
from zope.testing.doctestunit import DocTestSuite


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

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


=== Zope3/src/zope/app/container/tests/placelesssetup.py 1.2 => 1.2.26.1 ===
--- Zope3/src/zope/app/container/tests/placelesssetup.py:1.2	Thu Jun  5 08:41:55 2003
+++ Zope3/src/zope/app/container/tests/placelesssetup.py	Mon Sep  8 14:21:20 2003
@@ -16,12 +16,12 @@
 $Id$
 """
 from zope.component.adapter import provideAdapter
-from zope.app.container.zopecontainer import ZopeContainerDecorator
-from zope.app.interfaces.context import IZopeContextWrapper
-from zope.app.interfaces.container import IContainer
+from zope.app.interfaces.container import IContainer, IAddTarget, IRemoveSource
+from zope.app.container.add import AddTarget
+from zope.app.container.remove import RemoveSource
 
 class PlacelessSetup:
 
     def setUp(self):
-        provideAdapter(
-            IContainer, IZopeContextWrapper, ZopeContainerDecorator)
+        provideAdapter(IContainer, IAddTarget, AddTarget)
+        provideAdapter(IContainer, IRemoveSource, RemoveSource)

=== Removed File Zope3/src/zope/app/container/tests/baseizopeitemcontainer.py ===

=== Removed File Zope3/src/zope/app/container/tests/test_rename.py ===

=== Removed File Zope3/src/zope/app/container/tests/test_zopecontainer.py ===




More information about the Zope3-Checkins mailing list