[Erp5-report] r42361 kazuhiko - /erp5/trunk/products/ERP5/tests/testWebCrawler.py

nobody at svn.erp5.org nobody at svn.erp5.org
Sun Jan 16 22:32:18 CET 2011


Author: kazuhiko
Date: Sun Jan 16 22:32:17 2011
New Revision: 42361

URL: http://svn.erp5.org?rev=42361&view=rev
Log:
now normalised URL should be like this, i.e. '%20' instead of ' ', with the recent urlnorm library, that is installed by the recent buildout.

Modified:
    erp5/trunk/products/ERP5/tests/testWebCrawler.py

Modified: erp5/trunk/products/ERP5/tests/testWebCrawler.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testWebCrawler.py?rev=42361&r1=42360&r2=42361&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testWebCrawler.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testWebCrawler.py [utf8] Sun Jan 16 22:32:17 2011
@@ -215,7 +215,7 @@ class TestWebCrawler(ERP5TypeTestCase):
     web_page.edit(text_content=text_content)
     self.assertEquals(web_page.getContentBaseURL(), "http://www.example.com")
     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/section2',])
     # relative links without base tag



More information about the Erp5-report mailing list