Commit 30035ff1 authored by Jérome Perrin's avatar Jérome Perrin

use erp5_ui_test_base_url if set on the portal

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20740 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f5fe40e5
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n <tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
xmlns:metal="http://xml.zope.org/namespaces/metal">\n xmlns:metal="http://xml.zope.org/namespaces/metal">\n
<tal:block metal:define-macro="init"\n <tal:block metal:define-macro="init"\n
tal:define="base_url python: \'/\' + here.getPortalObject().getId();\n tal:define="base_url python: \'/\' + here.getPortalObject().getProperty(\'erp5_ui_test_base_url\', here.getPortalObject().getId());\n
global is_selenium_0_8 python: here.getPortalObject().portal_tests.getZeleniumVersion() &gt; \'Zelenium-0.8\'">\n global is_selenium_0_8 python: here.getPortalObject().portal_tests.getZeleniumVersion() &gt; \'Zelenium-0.8\'">\n
<tr>\n <tr>\n
<td>store</td>\n <td>store</td>\n
......
92 93
\ No newline at end of file \ No newline at end of file
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<string>Products.PageTemplates.ZopePageTemplate</string> <tuple/>
<string>ZopePageTemplate</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -56,7 +53,7 @@ ...@@ -56,7 +53,7 @@
<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n <tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
xmlns:metal="http://xml.zope.org/namespaces/metal">\n xmlns:metal="http://xml.zope.org/namespaces/metal">\n
<tal:block metal:define-macro="init" tal:define="base_url python: \'/\' + here.getPortalObject().getId()">\n <tal:block metal:define-macro="init" tal:define="base_url python: \'/\' + here.getPortalObject().getProperty(\'erp5_ui_test_base_url\', here.getPortalObject().getId())">\n
<tr>\n <tr>\n
<td>store</td>\n <td>store</td>\n
<td tal:content="base_url">erp5</td>\n <td tal:content="base_url">erp5</td>\n
......
9 10
\ No newline at end of file \ No newline at end of file
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<string>Products.PageTemplates.ZopePageTemplate</string> <tuple/>
<string>ZopePageTemplate</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -59,7 +56,7 @@ ...@@ -59,7 +56,7 @@
<tal:block metal:define-macro="init">\n <tal:block metal:define-macro="init">\n
<tr>\n <tr>\n
<td>store</td>\n <td>store</td>\n
<td tal:content="python: \'/\' + here.getPortalObject().getId()">erp5</td>\n <td tal:content="python:\'/\' + here.getPortalObject().getProperty(\'erp5_ui_test_base_url\', here.getPortalObject().getId())">erp5</td>\n
<td>base_url</td>\n <td>base_url</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
4 5
\ No newline at end of file \ No newline at end of file
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