Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Roque
erp5
Commits
548a7295
Commit
548a7295
authored
Nov 11, 2011
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix various typos.
parent
46abf109
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
product/ERP5OOo/tests/testDms.py
product/ERP5OOo/tests/testDms.py
+12
-12
product/ERP5OOo/tests/testDmsWithPreConversion.py
product/ERP5OOo/tests/testDmsWithPreConversion.py
+1
-1
No files found.
product/ERP5OOo/tests/testDms.py
View file @
548a7295
...
...
@@ -92,7 +92,7 @@ def makeFileUpload(name, as_name=None):
class
TestDocumentMixin
(
ERP5TypeTestCase
):
bus
s
iness_template_list
=
[
'erp5_core_proxy_field_legacy'
,
business_template_list
=
[
'erp5_core_proxy_field_legacy'
,
'erp5_jquery'
,
'erp5_full_text_myisam_catalog'
,
'erp5_base'
,
...
...
@@ -149,7 +149,7 @@ class TestDocumentMixin(ERP5TypeTestCase):
return
getattr
(
self
.
getPortal
(),
'document_module'
)
def
getBusinessTemplateList
(
self
):
return
self
.
bus
s
iness_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 overwrit
e
previous conversion
cache without overwrit
ing
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 conver
tion
"""Use this class to run different conver
sions
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
:
...
...
product/ERP5OOo/tests/testDmsWithPreConversion.py
View file @
548a7295
...
...
@@ -35,7 +35,7 @@ class TestDocumentWithPreConversion(TestDocument):
Test basic document - related operations
with Flare
"""
bus
siness_template_list
=
TestDocument
.
bus
siness_template_list
+
[
"erp5_dms_conversion_catalog"
]
bus
iness_template_list
=
TestDocument
.
bu
siness_template_list
+
[
"erp5_dms_conversion_catalog"
]
def
getTitle
(
self
):
return
"DMS with Preconversion"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment