[Erp5-report] r43108 arnaud.fontaine - /erp5/trunk/products/ERP5/tests/

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Feb 7 02:09:03 CET 2011


Author: arnaud.fontaine
Date: Mon Feb  7 02:09:03 2011
New Revision: 43108

URL: http://svn.erp5.org?rev=43108&view=rev
Log:
Remove trailing whitespaces

Modified:
    erp5/trunk/products/ERP5/tests/testInteractionWorkflow.py

Modified: erp5/trunk/products/ERP5/tests/testInteractionWorkflow.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testInteractionWorkflow.py?rev=43108&r1=43107&r2=43108&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testInteractionWorkflow.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testInteractionWorkflow.py [utf8] Mon Feb  7 02:09:03 2011
@@ -103,7 +103,7 @@ class TestInteractionWorkflow(ERP5TypeTe
     self.getWorkflowTool().setChainForPortalTypes(
                   [self.portal_type],'test_workflow, validation_workflow')
     _aq_reset() # XXX Fails XXX _setLastId not found when doing newContent
-  
+
   def createInteractionWorkflowWithTwoInteractions(self):
     id = 'test_workflow'
     wf_type = "interaction_workflow (Web-configurable interaction workflow)"
@@ -274,7 +274,7 @@ class TestInteractionWorkflow(ERP5TypeTe
     self.assertEquals(organisation.getDescription(),'a')
     organisation.setActivityCode('acode')
     self.assertEquals(organisation.getDescription(),'aa')
-    
+
   def test_09(self, quiet=0, run=run_all_test):
     if not run: return
     if not quiet:
@@ -296,7 +296,7 @@ class TestInteractionWorkflow(ERP5TypeTe
            "context.setDescription(description + 'a')"
     self.scriptA.ZPythonScript_edit(params, body)
     self.scriptB.ZPythonScript_edit(params, body.replace("'a'", "'b'"))
-    
+
     self.createData()
     organisation = self.organisation
     organisation.edit()
@@ -307,7 +307,7 @@ class TestInteractionWorkflow(ERP5TypeTe
     self.assert_(organisation.getDescription() in ('ab', 'ba'),
         "description should be 'ab' or 'ba', it is %s" %
         organisation.getDescription())
-    
+
   def test_10(self, quiet=0, run=run_all_test):
     if not run: return
     if not quiet:
@@ -325,7 +325,7 @@ class TestInteractionWorkflow(ERP5TypeTe
            "context.setDescription(description + 'a')"
     self.scriptA.ZPythonScript_edit(params, body)
     self.scriptB.ZPythonScript_edit(params, body.replace("'a'", "'b'"))
-    
+
     self.createData()
     organisation = self.organisation
     organisation.edit()
@@ -336,7 +336,7 @@ class TestInteractionWorkflow(ERP5TypeTe
     self.assert_(organisation.getDescription() in ('ab', 'ba'),
         "description should be 'ab' or 'ba', it is %s" %
         organisation.getDescription())
-    
+
   def test_11(self, quiet=0, run=run_all_test):
     if not run: return
     if not quiet:
@@ -454,7 +454,7 @@ class TestInteractionWorkflow(ERP5TypeTe
     # - edit:setVatCode(bara)
     self.assertEquals(organisation.getVatCode(),'bara')
 
-    
+
   def test_14_BeforeScriptParameters(self, quiet=0, run=run_all_test):
     if not run: return
     if not quiet:
@@ -601,7 +601,7 @@ context.setTitle('Bar')
                       'Access contents information', ['Role1'], 0)
     self.assertEquals(self.organisation.nonExistantMethod__roles__,
                       ('Role1',))
-    
+
   def test_security_defined(self):
     # wrapping a method in an interaction workflow adds a default security to
     # this method, but does not override existing security definition
@@ -659,4 +659,3 @@ def test_suite():
   suite = unittest.TestSuite()
   suite.addTest(unittest.makeSuite(TestInteractionWorkflow))
   return suite
-



More information about the Erp5-report mailing list