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

Fix various typos.

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