Commit 3663dbab authored by Sven Franck's avatar Sven Franck

erp5_corporate_identity: remove softinst references

parent 23d2d9f7
......@@ -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()))
##############################################################################
......
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment