[Erp5-report] r16908 - in /erp5/trunk/bt5/erp5_ui_test: PathTemplateItem/portal_tests/docum...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Oct 9 15:03:36 CEST 2007


Author: bartek
Date: Tue Oct  9 15:03:36 2007
New Revision: 16908

URL: http://svn.erp5.org?rev=16908&view=rev
Log:
Use a kosher method to get portal's url.

Modified:
    erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml
    erp5/trunk/bt5/erp5_ui_test/bt/revision

Modified: erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml?rev=16908&r1=16907&r2=16908&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml (original)
+++ erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml Tue Oct  9 15:03:36 2007
@@ -82,7 +82,7 @@
 have id "2". This is probably a bit too stupid. -->\n
 <tr>\n
   <td>assertLocation</td>\n
-  <td tal:content="python: \'/%s/foo_module/2/view\' % here.getPortalObject().getId()"/>\n
+  <td tal:content="python: \'%s/foo_module/2/view\' % here.getPortalObject().absolute_url_path()"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n
@@ -103,7 +103,7 @@
 </tr>\n
 <tr>\n
   <td>assertLocation</td>\n
-  <td tal:content="python: \'/%s/foo_module/2/1/view\' % here.getPortalObject().getId()"/>\n
+  <td tal:content="python: \'%s/foo_module/2/1/view\' % here.getPortalObject().absolute_url_path()"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n
@@ -131,7 +131,7 @@
 </tr>\n
 <tr>\n
   <td>assertLocation</td>\n
-  <td tal:content="python: \'/%s/foo_module/3/view\' % here.getPortalObject().getId()"/>\n
+  <td tal:content="python: \'%s/foo_module/3/view\' % here.getPortalObject().absolute_url_path()"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n
@@ -153,7 +153,7 @@
 </tr>\n
 <tr>\n
   <td>assertLocation</td>\n
-  <td tal:content="python: \'/%s/foo_module/4/view\' % here.getPortalObject().getId()"/>\n
+  <td tal:content="python: \'%s/foo_module/4/view\' % here.getPortalObject().absolute_url_path()"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n
@@ -168,7 +168,8 @@
 </tr>\n
 \n
 </body>\n
-</html>
+</html>\n
+
 
 ]]></string> </value>
         </item>

Modified: erp5/trunk/bt5/erp5_ui_test/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/bt/revision?rev=16908&r1=16907&r2=16908&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/bt/revision (original)
+++ erp5/trunk/bt5/erp5_ui_test/bt/revision Tue Oct  9 15:03:36 2007
@@ -1,1 +1,1 @@
-226
+225




More information about the Erp5-report mailing list