Commit 3e428444 authored by Jérome Perrin's avatar Jérome Perrin

call a script to set the base_url so that functional tests uses this as a base

instead of the portal ID


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20736 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e75cc684
......@@ -96,6 +96,7 @@ def parseArgs():
send_mail = 1
def main():
setBaseUrl()
setPreference()
unsubscribeFromTimerService()
status = getStatus()
......@@ -170,6 +171,11 @@ def setPreference():
'ERP5TypeTestCase&__ac_password=&working_copy_list=%s' %
(host, port, portal_name, bt5_dir_list))
def setBaseUrl():
urllib2.urlopen('http://%s:%d/%s/Zuite_setBaseUrl?__ac_name='
'ERP5TypeTestCase&__ac_password=&base_url=%s' %
(host, port, portal_name, portal_name))
def unsubscribeFromTimerService():
urllib2.urlopen('http://%s:%d/%s/portal_activities/?unsubscribe:method='
'&__ac_name=ERP5TypeTestCase&__ac_password=' %
......
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