From 9afe8def8760c73f43afcea3f75ef2f43278433c Mon Sep 17 00:00:00 2001 From: Kristian Rother <kr@nexedi.com> Date: Tue, 13 Feb 2007 13:24:43 +0000 Subject: [PATCH] 2007-2-13 kr * Fixed testTitle. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12657 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../page_templates_zuite/testTitle.xml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testTitle.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testTitle.xml index 1e8fed4b6a..b9a04b65b0 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testTitle.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testTitle.xml @@ -61,7 +61,7 @@ <title>Test title</title>\n </head>\n <body>\n -<table cellpadding="1" cellspacing="1" border="1">\n +<table cellpadding="1" cellspacing="1" border="1" tal:define="site_title python:here.getPortalObject().getTitle()">\n <thead>\n <tr><td rowspan="1" colspan="3">Test title</td></tr>\n </thead><tbody>\n @@ -95,7 +95,7 @@ </tr>\n <tr>\n <td>assertTitle</td>\n - <td>Foo - Title 0</td>\n + <td tal:content="python:\'Foo - Title 0 | %s\' % site_title">Foo - Title 0 | ERP5</td>\n <td></td>\n </tr>\n \n @@ -108,7 +108,7 @@ </tr>\n <tr>\n <td>assertTitle</td>\n - <td>Foos</td>\n + <td tal:content="python:\'Foos | %s\' % site_title">Foos | ERP5</td>\n <td></td>\n </tr>\n \n @@ -125,7 +125,7 @@ </tr>\n <tr>\n <td>assertTitle</td>\n - <td>Validate Workflow Action</td>\n + <td tal:content="python:\'Validate Workflow Action | %s\' % site_title">Validate Workflow Action | ERP5</td>\n <td></td>\n </tr>\n \n @@ -137,7 +137,7 @@ </tr>\n <tr>\n <td>assertTitle</td>\n - <td>History - Title 0</td>\n + <td tal:content="python:\'History - Title 0 | %s\' % site_title">History - Title 0 | ERP5</td>\n <td></td>\n </tr>\n \n @@ -150,7 +150,7 @@ </tr>\n <tr>\n <td>assertTitle</td>\n - <td>Business Template Definition - Title 0</td>\n + <td tal:content="python:\'Business Template Definition - Title 0 | %s\' % site_title">Business Template Definition - Title 0 | ERP5</td>\n <td></td>\n </tr>\n \n @@ -162,14 +162,13 @@ </tr>\n <tr>\n <td>assertTitle</td>\n - <td>ERP5</td>\n + <td tal:content="python:\'ERP5 | %s\' % site_title">ERP5 | ERP5</td>\n <td></td>\n </tr>\n \n </tbody></table>\n </body>\n -</html>\n - +</html> ]]></string> </value> </item> -- 2.30.9