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

Sidnei da Silva sidnei@x3ng.com.br
Thu, 22 Aug 2002 18:56:28 -0400


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

Modified Files:
      Tag: Zope-2_5-branch
	testCopySupport.py 
Log Message:
Checking why the tests are failing, i discovered a typo on the test. But unfortunately the tests are still failing. :(

=== Zope/lib/python/OFS/tests/testCopySupport.py 1.3.18.1 => 1.3.18.2 ===
--- Zope/lib/python/OFS/tests/testCopySupport.py:1.3.18.1	Wed Aug 14 11:28:49 2002
+++ Zope/lib/python/OFS/tests/testCopySupport.py	Thu Aug 22 18:56:28 2002
@@ -157,10 +157,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() )
@@ -180,10 +180,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() )