Commit 548a7295 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Fix various typos.

parent 46abf109
......@@ -92,14 +92,14 @@ def makeFileUpload(name, as_name=None):
class TestDocumentMixin(ERP5TypeTestCase):
bussiness_template_list = ['erp5_core_proxy_field_legacy',
'erp5_jquery',
'erp5_full_text_myisam_catalog',
'erp5_base',
'erp5_ingestion_mysql_innodb_catalog',
'erp5_ingestion',
'erp5_web',
'erp5_dms']
business_template_list = ['erp5_core_proxy_field_legacy',
'erp5_jquery',
'erp5_full_text_myisam_catalog',
'erp5_base',
'erp5_ingestion_mysql_innodb_catalog',
'erp5_ingestion',
'erp5_web',
'erp5_dms']
def setUpOnce(self):
# set a dummy localizer (because normally it is cookie based)
......@@ -149,7 +149,7 @@ class TestDocumentMixin(ERP5TypeTestCase):
return getattr(self.getPortal(),'document_module')
def getBusinessTemplateList(self):
return self.bussiness_template_list
return self.business_template_list
def getNeededCategoryList(self):
return ()
......@@ -1759,7 +1759,7 @@ document.write('<sc'+'ript type="text/javascript" src="http://somosite.bg/utb.ph
def test_parallel_conversion(self):
"""Check that conversion engine is able to fill in
cache without overwrite previous conversion
cache without overwriting previous conversion
when processed at the same time.
"""
portal_type = 'PDF'
......@@ -1781,7 +1781,7 @@ document.write('<sc'+'ript type="text/javascript" src="http://somosite.bg/utb.ph
'resolution': None}
class ThreadWrappedConverter(Thread):
"""Use this class to run different convertion
"""Use this class to run different conversions
inside distinct Thread.
"""
def __init__(self, publish_method, document_path,
......@@ -1809,7 +1809,7 @@ document.write('<sc'+'ript type="text/javascript" src="http://somosite.bg/utb.ph
# assume there is no password
credential = '%s:' % (getSecurityManager().getUser().getId(),)
tested_list = []
frame_list = list(xrange(pages_number))
frame_list = range(pages_number)
# assume that ZServer is configured with 4 Threads
conversion_per_tread = pages_number / 4
while frame_list:
......
......@@ -35,7 +35,7 @@ class TestDocumentWithPreConversion(TestDocument):
Test basic document - related operations
with Flare
"""
bussiness_template_list = TestDocument.bussiness_template_list + ["erp5_dms_conversion_catalog"]
business_template_list = TestDocument.business_template_list + ["erp5_dms_conversion_catalog"]
def getTitle(self):
return "DMS with Preconversion"
......
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