Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
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
Hamza
erp5-Boxiang
Commits
b8527db0
Commit
b8527db0
authored
May 07, 2016
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: small update for ImageMagick 7.
parent
977fc66e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
product/ERP5/tests/testERP5WebWithDms.py
product/ERP5/tests/testERP5WebWithDms.py
+1
-1
product/ERP5OOo/tests/testDms.py
product/ERP5OOo/tests/testDms.py
+2
-2
No files found.
product/ERP5/tests/testERP5WebWithDms.py
View file @
b8527db0
...
@@ -43,7 +43,7 @@ from Products.ERP5.Document.Document import ConversionError
...
@@ -43,7 +43,7 @@ from Products.ERP5.Document.Document import ConversionError
from
PIL
import
Image
from
PIL
import
Image
LANGUAGE_LIST
=
(
'en'
,
'fr'
,
'de'
,
'bg'
,)
LANGUAGE_LIST
=
(
'en'
,
'fr'
,
'de'
,
'bg'
,)
IMAGE_COMPARE_TOLERANCE
=
8
0
0
IMAGE_COMPARE_TOLERANCE
=
8
5
0
def
makeFilePath
(
name
):
def
makeFilePath
(
name
):
...
...
product/ERP5OOo/tests/testDms.py
View file @
b8527db0
...
@@ -2274,8 +2274,8 @@ return 1
...
@@ -2274,8 +2274,8 @@ return 1
del
convert_kw
[
'quality'
]
del
convert_kw
[
'quality'
]
image_document_image_size_no_quality
,
image_document_file_size_no_quality
=
self
.
getURLSizeList
(
url
,
**
convert_kw
)
image_document_image_size_no_quality
,
image_document_file_size_no_quality
=
self
.
getURLSizeList
(
url
,
**
convert_kw
)
# check file sizes
# check file sizes
self
.
assertTrue
(
image_document_file_size_100p
>
image_document_file_size_no_quality
and
\
self
.
assertTrue
(
image_document_file_size_100p
>
=
image_document_file_size_no_quality
and
\
image_document_file_size_no_quality
>
image_document_file_size_5p
,
image_document_file_size_no_quality
>
=
image_document_file_size_5p
,
"%s should be more then %s and %s should be more them %s"
%
\
"%s should be more then %s and %s should be more them %s"
%
\
(
image_document_file_size_100p
,
(
image_document_file_size_100p
,
image_document_file_size_no_quality
,
image_document_file_size_no_quality
,
...
...
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