[Zope-Checkins] CVS: Zope/lib/python/OFS/tests - testCopySupport.py:1.6.4.1

Chris McDonough chrism@zope.com
Mon, 26 Aug 2002 02:23:08 -0400


Update of /cvs-repository/Zope/lib/python/OFS/tests
In directory cvs.zope.org:/tmp/cvs-serv29520/lib/python/OFS/tests

Modified Files:
      Tag: chrism-install-branch
	testCopySupport.py 
Log Message:
More work on my Zope2 installer branch.  The branch is fully functional
at this point, at least on Linux (try it!).  The goal is to allow
a './configure; make; make install' Zope source installation possible. 

- The 'configure' step now checks for large file support
  and will only allow configuration to continue if you
  say "yes, I want to screw myself later." ;-)

- Replaced 'zctl' with Tres' 'zopectl'.  In the process,
  refactored zopectl so that it uses a Squid-like config file.
  The config file consists of "directives", each of
  which has a particular set of possible values explained
  in the config file.  The config file provides a uniform
  front-end to the mish-mash of environment variables
  and command-line switches that you normally need to
  deal with when you configure a Zope instance.

- Created a new package in software_home named Controller
  which holds the zctl libraries and some useful scripts
  to create directives.

- Merged HEAD changes onto branch.



=== Zope/lib/python/OFS/tests/testCopySupport.py 1.6 => 1.6.4.1 ===
--- Zope/lib/python/OFS/tests/testCopySupport.py:1.6	Wed Aug 14 17:41:16 2002
+++ Zope/lib/python/OFS/tests/testCopySupport.py	Mon Aug 26 02:22:37 2002
@@ -166,10 +166,10 @@
 
     def testPasteMultiNotSameID( self ):
         self.failUnless( 'file' in self.folder1.objectIds() )
-        self.failIf( 'file1' in self.folder2.objectIds() )
+        self.failIf( 'file1' in self.folder1.objectIds() )
         manage_addFile(self.folder1, 'file1',
                        file='', content_type='text/plain')
-        self.failIf( 'file2' in self.folder2.objectIds() )
+        self.failIf( 'file2' in self.folder1.objectIds() )
         manage_addFile(self.folder1, 'file2',
                        file='', content_type='text/plain')
         self.failIf( 'file' in self.folder2.objectIds() )
@@ -189,10 +189,10 @@
 
     def testPasteMultiSameID( self ):
         self.failUnless( 'file' in self.folder1.objectIds() )
-        self.failIf( 'file1' in self.folder2.objectIds() )
+        self.failIf( 'file1' in self.folder1.objectIds() )
         manage_addFile(self.folder1, 'file1',
                        file='', content_type='text/plain')
-        self.failIf( 'file2' in self.folder2.objectIds() )
+        self.failIf( 'file2' in self.folder1.objectIds() )
         manage_addFile(self.folder1, 'file2',
                        file='', content_type='text/plain')
         self.failIf( 'file' in self.folder2.objectIds() )