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
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
Joshua
erp5
Commits
77196e04
Commit
77196e04
authored
Dec 19, 2012
by
Pere Cortes
Committed by
Sebastien Robin
Jan 31, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testSafeImage image's path adapt to automatic test
parent
0a6132fb
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1259 additions
and
4 deletions
+1259
-4
bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/js/base64.js.xml
...TemplateItem/portal_skins/erp5_safeimage/js/base64.js.xml
+352
-0
bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/js/blowfish.js.xml
...mplateItem/portal_skins/erp5_safeimage/js/blowfish.js.xml
+903
-0
bt5/erp5_safeimage/TestTemplateItem/testSafeImage.py
bt5/erp5_safeimage/TestTemplateItem/testSafeImage.py
+3
-3
bt5/erp5_safeimage/bt/revision
bt5/erp5_safeimage/bt/revision
+1
-1
No files found.
bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/js/base64.js.xml
0 → 100644
View file @
77196e04
This diff is collapsed.
Click to expand it.
bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/js/blowfish.js.xml
0 → 100644
View file @
77196e04
This diff is collapsed.
Click to expand it.
bt5/erp5_safeimage/TestTemplateItem/testSafeImage.py
View file @
77196e04
...
...
@@ -54,7 +54,7 @@ class TestSafeImage(ERP5TypeTestCase):
def
_createImage
(
self
):
portal
=
self
.
getPortalObject
()
image
=
portal
.
restrictedTraverse
(
'portal_skins/erp5_safeimage/img/image_unit_test.jpg'
)
path_image
=
"
tmp/
image_unit_test.jpg"
path_image
=
"image_unit_test.jpg"
fd
=
os
.
open
(
path_image
,
os
.
O_CREAT
|
os
.
O_RDWR
)
os
.
write
(
fd
,
str
(
image
.
data
))
os
.
close
(
fd
)
...
...
@@ -66,7 +66,7 @@ class TestSafeImage(ERP5TypeTestCase):
def
_createTileImage
(
self
):
portal
=
self
.
getPortalObject
()
image
=
portal
.
restrictedTraverse
(
'portal_skins/erp5_safeimage/img/image_unit_test.jpg'
)
path_image
=
"
tmp/
image_unit_test.jpg"
path_image
=
"image_unit_test.jpg"
fd
=
os
.
open
(
path_image
,
os
.
O_CREAT
|
os
.
O_RDWR
)
os
.
write
(
fd
,
str
(
image
.
data
))
os
.
close
(
fd
)
...
...
@@ -78,7 +78,7 @@ class TestSafeImage(ERP5TypeTestCase):
def
_createTileImageTransformed
(
self
):
portal
=
self
.
getPortalObject
()
image
=
portal
.
restrictedTraverse
(
'portal_skins/erp5_safeimage/img/image_unit_test.jpg'
)
path_image
=
"
tmp/
image_unit_test.jpg"
path_image
=
"image_unit_test.jpg"
fd
=
os
.
open
(
path_image
,
os
.
O_CREAT
|
os
.
O_RDWR
)
os
.
write
(
fd
,
str
(
image
.
data
))
os
.
close
(
fd
)
...
...
bt5/erp5_safeimage/bt/revision
View file @
77196e04
8
\ No newline at end of file
9
\ No newline at end of file
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