Commit 8245d836 authored by Sidnei da Silva's avatar Sidnei da Silva

Checking why the tests are failing, i discovered a typo on the test. But...

Checking why the tests are failing, i discovered a typo on the test. But unfortunately the tests are still failing. :(
parent 8df2d173
...@@ -166,10 +166,10 @@ class TestCopySupport( unittest.TestCase ): ...@@ -166,10 +166,10 @@ class TestCopySupport( unittest.TestCase ):
def testPasteMultiNotSameID( self ): def testPasteMultiNotSameID( self ):
self.failUnless( 'file' in self.folder1.objectIds() ) 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', manage_addFile(self.folder1, 'file1',
file='', content_type='text/plain') file='', content_type='text/plain')
self.failIf( 'file2' in self.folder2.objectIds() ) self.failIf( 'file2' in self.folder1.objectIds() )
manage_addFile(self.folder1, 'file2', manage_addFile(self.folder1, 'file2',
file='', content_type='text/plain') file='', content_type='text/plain')
self.failIf( 'file' in self.folder2.objectIds() ) self.failIf( 'file' in self.folder2.objectIds() )
...@@ -189,10 +189,10 @@ class TestCopySupport( unittest.TestCase ): ...@@ -189,10 +189,10 @@ class TestCopySupport( unittest.TestCase ):
def testPasteMultiSameID( self ): def testPasteMultiSameID( self ):
self.failUnless( 'file' in self.folder1.objectIds() ) 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', manage_addFile(self.folder1, 'file1',
file='', content_type='text/plain') file='', content_type='text/plain')
self.failIf( 'file2' in self.folder2.objectIds() ) self.failIf( 'file2' in self.folder1.objectIds() )
manage_addFile(self.folder1, 'file2', manage_addFile(self.folder1, 'file2',
file='', content_type='text/plain') file='', content_type='text/plain')
self.failIf( 'file' in self.folder2.objectIds() ) self.failIf( 'file' in self.folder2.objectIds() )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment