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
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xueyun Qian
erp5
Commits
05f16ca7
Commit
05f16ca7
authored
Dec 01, 2015
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testDms: update test to follow changes on mimetypes_registry.
parent
9b46e1cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
product/ERP5OOo/tests/testDms.py
product/ERP5OOo/tests/testDms.py
+1
-1
No files found.
product/ERP5OOo/tests/testDms.py
View file @
05f16ca7
...
@@ -1611,7 +1611,7 @@ class TestDocument(TestDocumentMixin):
...
@@ -1611,7 +1611,7 @@ class TestDocument(TestDocumentMixin):
image_count
=
builder
.
_image_count
image_count
=
builder
.
_image_count
failure_message
=
'Expected image not found in ODF zipped archive'
failure_message
=
'Expected image not found in ODF zipped archive'
# fetch image from zipped archive content then compare with ERP5 Image
# fetch image from zipped archive content then compare with ERP5 Image
self
.
assertEqual
(
builder
.
extract
(
'Pictures/%s.
jpe
g'
%
image_count
),
self
.
assertEqual
(
builder
.
extract
(
'Pictures/%s.
pjp
g'
%
image_count
),
image
.
getData
(),
failure_message
)
image
.
getData
(),
failure_message
)
# Continue the test with image resizing support
# Continue the test with image resizing support
...
...
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