[Erp5-report] r41747 nicolas - /erp5/trunk/products/ERP5OOo/tests/testDms.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Dec 24 11:28:25 CET 2010
Author: nicolas
Date: Fri Dec 24 11:28:25 2010
New Revision: 41747
URL: http://svn.erp5.org?rev=41747&view=rev
Log:
Cleanup white spaces
Modified:
erp5/trunk/products/ERP5OOo/tests/testDms.py
Modified: erp5/trunk/products/ERP5OOo/tests/testDms.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/testDms.py?rev=41747&r1=41746&r2=41747&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testDms.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/tests/testDms.py [utf8] Fri Dec 24 11:28:25 2010
@@ -2122,7 +2122,7 @@ return 1
self.assertEquals(event_list[-1].action, 'Share Document')
self.assertEquals(event_list[-2].action, 'Reject Document')
self.assertEquals(event_list[-3].action, 'Publish Document')
-
+
def test_ContributeToExistingDocument(self):
"""
Test various cases of contributing to an existing document
@@ -2138,13 +2138,13 @@ return 1
# passing another portal type should raise an exception
kw['portal_type'] = "Spreadsheet"
self.assertRaises(ValueError, self.portal.Base_contribute, **kw)
-
+
# make it read only
document.manage_permission(Permissions.ModifyPortalContent, [])
self.stepTic()
kw.pop('portal_type')
self.assertRaises(Unauthorized, self.portal.Base_contribute, **kw)
-
+
def test_ContributeWithMergingToExistingDocument(self):
"""
Test various cases of merging to an existing document
More information about the Erp5-report
mailing list