diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml index 3dc0eb9c35cf02661522faf8807a789cdd4c90b7..5d2ed138090d2077706c1d33b7883af73194a97f 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml @@ -3,8 +3,11 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> - <tuple/> + <tuple> + <string>Products.PageTemplates.ZopePageTemplate</string> + <string>ZopePageTemplate</string> + </tuple> + <none/> </tuple> </pickle> <pickle> @@ -79,7 +82,7 @@ have id "2". This is probably a bit too stupid. -->\n <tr>\n <td>assertLocation</td>\n - <td tal:content="string:${here/portal_url/getPortalObject/absolute_url_path}/foo_module/2/view"/>\n + <td tal:content="python: \'%s/foo_module/2/view\' % here.portal_url.getPortalObject().absolute_url_path()"/>\n <td></td>\n </tr>\n <tr>\n @@ -100,7 +103,7 @@ have id "2". This is probably a bit too stupid. -->\n </tr>\n <tr>\n <td>assertLocation</td>\n - <td tal:content="string:${here/portal_url/getPortalObject/absolute_url_path}/foo_module/2/1/view"/>\n + <td tal:content="python: \'%s/foo_module/2/1/view\' % here.portal_url.getPortalObject().absolute_url_path()"/>\n <td></td>\n </tr>\n <tr>\n @@ -128,7 +131,7 @@ have id "2". This is probably a bit too stupid. -->\n </tr>\n <tr>\n <td>assertLocation</td>\n - <td tal:content="string:${here/portal_url/getPortalObject/absolute_url_path}/foo_module/3/view"/>\n + <td tal:content="python: \'%s/foo_module/3/view\' % here.portal_url.getPortalObject().absolute_url_path()"/>\n <td></td>\n </tr>\n <tr>\n @@ -150,7 +153,7 @@ another object of the same type. -->\n </tr>\n <tr>\n <td>assertLocation</td>\n - <td tal:content="string:${here/portal_url/getPortalObject/absolute_url_path}/foo_module/4/view"/>\n + <td tal:content="python: \'%s/foo_module/4/view\' % here.portal_url.getPortalObject().absolute_url_path()"/>\n <td></td>\n </tr>\n <tr>\n diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDropDownListActionsNothingSelected.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDropDownListActionsNothingSelected.xml index b078f6cd578c62fe69ceabfef408cf862225b41a..d32456e32dd27393a471c7fcdf81f31c8dfff1cb 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDropDownListActionsNothingSelected.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDropDownListActionsNothingSelected.xml @@ -3,8 +3,11 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> - <tuple/> + <tuple> + <string>Products.PageTemplates.ZopePageTemplate</string> + <string>ZopePageTemplate</string> + </tuple> + <none/> </tuple> </pickle> <pickle> @@ -90,7 +93,7 @@ shouldn\'t do anything. -->\n </tr>\n <tr>\n <td>assertLocation</td>\n - <td tal:content="string: ${here/portal_url/getPortalObject/absolute_url_path}/foo_module/1/view">/erp5/foo_module/1/view</td>\n + <td tal:content="python: \'%s/foo_module/1/view\' % here.portal_url.getPortalObject().absolute_url_path()">/erp5/foo_module/1/view</td>\n <td/>\n </tr>\n <tr>\n diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSaveButton.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSaveButton.xml index 2d8203b663943db4104b88cef0e1ed36e0e348d2..19d751e073e990f15022bbf05f4afd8067723f21 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSaveButton.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSaveButton.xml @@ -3,8 +3,11 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> - <tuple/> + <tuple> + <string>Products.PageTemplates.ZopePageTemplate</string> + <string>ZopePageTemplate</string> + </tuple> + <none/> </tuple> </pickle> <pickle> @@ -131,7 +134,7 @@ button</td></tr>\n </tr>\n <tr>\n <td>assertLocation</td>\n - <td tal:content="string: ${here/portal_url/getPortalObject/absolute_url_path}/portal_categories/foo_category/a/a1/view"/>\n + <td tal:content="python: \'%s/portal_categories/foo_category/a/a1/view\' % here.portal_url.getPortalObject().absolute_url_path()"/>\n <td/>\n </tr>\n </tbody></table>\n diff --git a/bt5/erp5_ui_test/bt/revision b/bt5/erp5_ui_test/bt/revision index 1e3852840b57172af41e4323ea5262e777f99916..b7c52fb1813fefa7feb43758b4c9d2ca8f65a681 100644 --- a/bt5/erp5_ui_test/bt/revision +++ b/bt5/erp5_ui_test/bt/revision @@ -1 +1 @@ -211 \ No newline at end of file +212 \ No newline at end of file