Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Romain Courteaud
erp5_rtl_support
Commits
ed359334
Commit
ed359334
authored
Jan 08, 2018
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_corporate_identity: remove softinst references
parent
73220951
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
bt5/erp5_corporate_identity/TestTemplateItem/portal_components/test.erp5.testCorporateIdentityTemplates.py
...al_components/test.erp5.testCorporateIdentityTemplates.py
+6
-8
bt5/erp5_corporate_identity/TestTemplateItem/portal_components/test.erp5.testCorporateIdentityTemplates.xml
...l_components/test.erp5.testCorporateIdentityTemplates.xml
+1
-0
No files found.
bt5/erp5_corporate_identity/TestTemplateItem/portal_components/test.erp5.testCorporateIdentityTemplates.py
View file @
ed359334
...
...
@@ -37,9 +37,6 @@ import re
import
io
import
base64
host_url
=
r"https?://localhost(?::[0-9]+)?/[^/]+/"
test_url
=
"https://softinst73908.host.vifib.net/erp5/"
def
changeSkin
(
skin_name
):
"""
Change skin for following commands and attribute resolution.
...
...
@@ -225,11 +222,11 @@ class TestCorporateIdentityTemplates(ERP5TypeTestCase):
getattr
(
test_page
,
kw
.
get
(
"test_method"
)),
**
kw
)
html
=
re
.
sub
(
host_url
,
test_url
,
html
)
# update html test files or run tests
if
dump
:
expected_page
.
edit
(
text_content
=
html
)
self
.
tic
()
self
.
assertEquals
(
html
,
expected_page
.
getData
())
def
runPdfTestPattern
(
self
,
id1
,
id2
,
id3
,
**
kw
):
...
...
@@ -264,6 +261,7 @@ class TestCorporateIdentityTemplates(ERP5TypeTestCase):
# update bmp files
if
dump
:
expected_image
.
setData
(
bmp
)
self
.
tic
()
self
.
assertImageRenderingEquals
(
str
(
bmp
),
str
(
expected_image
.
getData
()))
##############################################################################
...
...
@@ -557,7 +555,7 @@ class TestCorporateIdentityTemplates(ERP5TypeTestCase):
use_skin
=
"Letter"
)
)
@
changeSkin
(
'Letter'
)
def
test_htmlLetterFollowUpContributor
(
self
):
"""
...
...
@@ -692,7 +690,7 @@ class TestCorporateIdentityTemplates(ERP5TypeTestCase):
subfield_field_override_date_day
=
"31"
)
)
@
changeSkin
(
'Letter'
)
def
test_pdfLetterLocaliserHeadDisplay
(
self
):
"""
...
...
@@ -751,7 +749,7 @@ class TestCorporateIdentityTemplates(ERP5TypeTestCase):
use_skin
=
"Leaflet"
)
)
@
changeSkin
(
'Leaflet'
)
def
test_htmlLeafletOverrides
(
self
):
"""
...
...
@@ -789,7 +787,7 @@ class TestCorporateIdentityTemplates(ERP5TypeTestCase):
use_skin
=
"Leaflet"
)
)
@
changeSkin
(
'Leaflet'
)
def
test_pdfLeaflet
(
self
):
"""
...
...
bt5/erp5_corporate_identity/TestTemplateItem/portal_components/test.erp5.testCorporateIdentityTemplates.xml
View file @
ed359334
...
...
@@ -47,6 +47,7 @@
<string>
W: 30, 0: Unused createZODBPythonScript imported from Products.ERP5Type.tests.utils (unused-import)
</string>
<string>
W: 32, 0: Unused import transaction (unused-import)
</string>
<string>
W: 33, 0: Unused import functools (unused-import)
</string>
<string>
W: 36, 0: Unused import re (unused-import)
</string>
</tuple>
</value>
</item>
...
...
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