From 0084aceb3896c860ab9cbee03b8c7abf1e1a8397 Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Mon, 31 May 2010 17:05:44 +0000
Subject: [PATCH] remove blank spaces

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35831 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../tests/testERP5DocumentSyncML.py           | 20 +++++++++----------
 product/ERP5SyncML/tests/testERP5SyncML.py    |  4 +---
 2 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/product/ERP5SyncML/tests/testERP5DocumentSyncML.py b/product/ERP5SyncML/tests/testERP5DocumentSyncML.py
index e16db9213e..1c4bd590fa 100644
--- a/product/ERP5SyncML/tests/testERP5DocumentSyncML.py
+++ b/product/ERP5SyncML/tests/testERP5DocumentSyncML.py
@@ -112,7 +112,7 @@ class TestERP5DocumentSyncMLMixin(ERP5TypeTestCase):
   nb_publication = 1
   #default edit_workflow
   workflow_id = 'processing_status_workflow'
-  
+
 
   def getBusinessTemplateList(self):
     """
@@ -132,7 +132,7 @@ class TestERP5DocumentSyncMLMixin(ERP5TypeTestCase):
     self.setSystemPreferences()
     transaction.commit()
     self.tic()
-  
+
   def beforeTearDown(self):
     """
       Do some stuff after each test:
@@ -201,7 +201,7 @@ class TestERP5DocumentSyncMLMixin(ERP5TypeTestCase):
       self.portal.portal_types.constructContent(type_name = 'Document Module',
                                              container = self.portal,
                                              id = 'document_client1')
-        
+
     if one_way:
       if not hasattr(self.portal, 'document_client_from_server'):
         self.portal.portal_types.constructContent(type_name = 'Document Module',
@@ -215,7 +215,7 @@ class TestERP5DocumentSyncMLMixin(ERP5TypeTestCase):
       self.portal._delObject(id='document_client1')
     transaction.commit()
     self.tic()
- 
+
   def clearPublicationsAndSubscriptions(self):
     portal_sync = self.getSynchronizationTool()
     for pub in portal_sync.getPublicationList():
@@ -251,7 +251,7 @@ class TestERP5DocumentSyncMLMixin(ERP5TypeTestCase):
     uf._doAddUser('syncml', '', ['Manager'], [])
     user = uf.getUserById('daniele').__of__(uf)
     newSecurityManager(None, user)
- 
+
   def resetSignaturePublicationAndSubscription(self):
     portal_sync = self.getSynchronizationTool()
     publication = portal_sync.getPublication(self.pub_id)
@@ -285,7 +285,7 @@ class TestERP5DocumentSyncMLMixin(ERP5TypeTestCase):
     nb_document = len(document_server.objectValues())
     self.assertEqual(nb_document, len(self.ids))
     return nb_document
-   
+
   def documentServer(self, quiet=0, one_way=False):
     """
     create document in document_server
@@ -506,7 +506,7 @@ class TestERP5DocumentSyncMLMixin(ERP5TypeTestCase):
       doc_c = document_client1._getOb(str(id))
       self.assertXMLViewIsEqual(self.sub_id1, doc_s, doc_c)
 
-  
+
   def checkFirstSynchronizationWithMultiDocument(self, nb_document=0):
     portal_sync = self.getSynchronizationTool()
     subscription1 = portal_sync.getSubscription(self.sub_id1)
@@ -635,7 +635,7 @@ class TestERP5DocumentSyncML(TestERP5DocumentSyncMLMixin, ERP5TypeTestCase):
     self.assertEqual(nb_message1, self.nb_message_first_synchronization)
     self.checkSynchronizationStateIsSynchronized()
     self.checkFirstSynchronization(nb_document=nb_document)
-  
+
   def test_03_UpdateSimpleData(self, quiet=0):
     if not quiet:
       ZopeTestCase._print('\nTest Update Simple Data ')
@@ -977,7 +977,7 @@ class TestERP5DocumentSyncML(TestERP5DocumentSyncMLMixin, ERP5TypeTestCase):
     With http synchronization, when a message is not well
     received, then we send message again, we want to
     be sure that is such case we don't do stupid things
-    
+
     If we want to make this test more intersting, it is
     better to split messages
     """
@@ -1080,7 +1080,7 @@ class TestERP5DocumentSyncML(TestERP5DocumentSyncMLMixin, ERP5TypeTestCase):
     self.assertEqual(document_s.getSourceReference(), self.filename_text)
     self.assertEquals(self.size_filename_text, document_s.get_size())
     self.assertEquals(document_s.getShortTitle(), self.short_title2) 
-    
+
     #reset for refresh sync
     #after synchronize, the client object retrieve value of server
     self.resetSignaturePublicationAndSubscription()
diff --git a/product/ERP5SyncML/tests/testERP5SyncML.py b/product/ERP5SyncML/tests/testERP5SyncML.py
index 856e228e38..afe55fd7ee 100644
--- a/product/ERP5SyncML/tests/testERP5SyncML.py
+++ b/product/ERP5SyncML/tests/testERP5SyncML.py
@@ -1244,7 +1244,6 @@ class TestERP5SyncML(TestERP5SyncMLMixin, ERP5TypeTestCase):
     self.synchronize(self.sub_id2)
     self.assertXMLViewIsEqual(self.sub_id2, person1_s, person1_c2)
     self.assertXMLViewIsEqual(self.sub_id1, person1_s, person1_c1)
-        
 
   def test_26_SynchronizeWorkflowHistory(self, quiet=0, run=run_all_test):
     """
@@ -1649,7 +1648,6 @@ wuIFtde33Dp3NkZl9fc2Rmw6fDp8OnX2RmX19fJibDqV1dXcKwwrDCsMKwwrDCsA=="
     self.assertEquals(person1_s.getFirstName(), self.first_name3)
     self.assertEquals(person1_s.getLastName(), self.last_name3)
  
-    
     #adding authentication :
     self.addAuthenticationToPublication(self.pub_id, 'fab', 'myPassword', 'b64',
         'syncml:auth-basic')
@@ -1734,7 +1732,7 @@ wuIFtde33Dp3NkZl9fc2Rmw6fDp8OnX2RmX19fJibDqV1dXcKwwrDCsMKwwrDCsA=="
     self.assertEquals(person1_s.getFirstName(), self.first_name3)
     self.assertEquals(person1_s.getLastName(), self.last_name3)
     self.checkSynchronizationStateIsSynchronized()
- 
+
   def test_36_SynchronizationSubscriptionMaxLines(self, quiet=0, run=run_all_test):
     # We will try to populate the folder person_server
     # with the data form person_client 
-- 
2.30.9