Commit c83621d2 authored by Ivan Tyagov's avatar Ivan Tyagov

Test safe html can be produced directly after contributing link.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36968 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8f8861ed
...@@ -1890,6 +1890,11 @@ return 1 ...@@ -1890,6 +1890,11 @@ return 1
self.assertTrue(web_page_5==web_page_6) self.assertTrue(web_page_5==web_page_6)
self.assertTrue(web_page_6.getRevision()=='7') self.assertTrue(web_page_6.getRevision()=='7')
# test contribute link is a safe html (duplicates parts of test_safeHTML_conversion)
web_page_6_entire_html = web_page_6.asEntireHTML()
self.assertTrue('<script' not in web_page_6_entire_html)
self.assertTrue('<javascript' not in web_page_6_entire_html)
def test_getTargetFormatItemList(self): def test_getTargetFormatItemList(self):
""" """
Test getting target conversion format item list. Test getting target conversion format item list.
......
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