Commit 3c271ebd authored by Nicolas Delaby's avatar Nicolas Delaby

coding style and typo

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35834 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fba26c24
...@@ -118,9 +118,12 @@ class TestERP5DocumentSyncMLMixin(ERP5TypeTestCase): ...@@ -118,9 +118,12 @@ class TestERP5DocumentSyncMLMixin(ERP5TypeTestCase):
""" """
Return the list of business templates. Return the list of business templates.
""" """
return ('erp5_base', 'erp5_ingestion',\ return ('erp5_base',
'erp5_ingestion_mysql_innodb_catalog', 'erp5_web',\ 'erp5_ingestion',
'erp5_dms') 'erp5_ingestion_mysql_innodb_catalog',
'erp5_web',
'erp5_dms',
)
def afterSetUp(self): def afterSetUp(self):
...@@ -567,8 +570,7 @@ class TestERP5DocumentSyncML(TestERP5DocumentSyncMLMixin): ...@@ -567,8 +570,7 @@ class TestERP5DocumentSyncML(TestERP5DocumentSyncMLMixin):
def getTitle(self): def getTitle(self):
""" """
""" """
return "ERP5 SyncML" return "ERP5 Document SyncML"
def setupPublicationAndSubscriptionIdGenerator(self, quiet=0): def setupPublicationAndSubscriptionIdGenerator(self, quiet=0):
portal_sync = self.getSynchronizationTool() portal_sync = self.getSynchronizationTool()
...@@ -788,7 +790,6 @@ class TestERP5DocumentSyncML(TestERP5DocumentSyncMLMixin): ...@@ -788,7 +790,6 @@ class TestERP5DocumentSyncML(TestERP5DocumentSyncMLMixin):
doc_s.edit(**kw) doc_s.edit(**kw)
file = makeFileUpload(self.filename_odt) file = makeFileUpload(self.filename_odt)
doc_s.edit(file=file) doc_s.edit(file=file)
#doc_s.convertToBaseFormat()
# Side client modification gid of a odt document # Side client modification gid of a odt document
id_odt = str(self.ids[self.id_max_text+1]) id_odt = str(self.ids[self.id_max_text+1])
doc_c = document_client1._getOb(id_odt) doc_c = document_client1._getOb(id_odt)
...@@ -796,7 +797,6 @@ class TestERP5DocumentSyncML(TestERP5DocumentSyncMLMixin): ...@@ -796,7 +797,6 @@ class TestERP5DocumentSyncML(TestERP5DocumentSyncMLMixin):
doc_c.edit(**kw) doc_c.edit(**kw)
file = makeFileUpload(self.filename_text) file = makeFileUpload(self.filename_text)
doc_c.edit(file=file) doc_c.edit(file=file)
#doc_c.convertToBaseFormat()
transaction.commit() transaction.commit()
self.tic() self.tic()
self.synchronize(self.sub_id1) self.synchronize(self.sub_id1)
......
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