Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Eteri
erp5_fork
Commits
b8afaa14
Commit
b8afaa14
authored
Mar 08, 2017
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testDms: s/portal.getPortalObject()/portal/
parent
c3bcb6c4
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 @
b8afaa14
...
...
@@ -232,7 +232,7 @@ class TestDocument(TestDocumentMixin):
return
getattr
(
document_module
,
id
)
def
getPreferences
(
self
,
image_display
):
preference_tool
=
self
.
portal
.
getPortalObject
().
portal_preferences
preference_tool
=
self
.
portal
.
portal_preferences
height_preference
=
'preferred_%s_image_height'
%
(
image_display
,)
width_preference
=
'preferred_%s_image_width'
%
(
image_display
,)
height
=
int
(
preference_tool
.
getPreference
(
height_preference
))
...
...
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