Commit 4e0ca62c authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

now normalised URL should be like this, i.e. '%20' instead of ' ', with the...

now normalised URL should be like this, i.e. '%20' instead of ' ', with the recent urlnorm library, that is installed by the recent buildout.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42361 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a263157e
...@@ -215,7 +215,7 @@ class TestWebCrawler(ERP5TypeTestCase): ...@@ -215,7 +215,7 @@ class TestWebCrawler(ERP5TypeTestCase):
web_page.edit(text_content=text_content) web_page.edit(text_content=text_content)
self.assertEquals(web_page.getContentBaseURL(), "http://www.example.com") self.assertEquals(web_page.getContentBaseURL(), "http://www.example.com")
self.assertEquals(web_page.getContentNormalisedURLList(), self.assertEquals(web_page.getContentNormalisedURLList(),
["http://www.example.com/I don't care I put what/ I want/", ["http://www.example.com/I%20don't%20care%20I%20put%20what/%20I%20want/",
'http://www.example.com/section', 'http://www.example.com/section',
'http://www.example.com/section2',]) 'http://www.example.com/section2',])
# relative links without base tag # relative links without base tag
......
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