diff --git a/product/ERP5Type/tests/runFunctionalTest.py b/product/ERP5Type/tests/runFunctionalTest.py index 3e5634c9e3424a1c038065f1e8f300b37d52915a..c423a4f813cc5b9f5b034aa8d4c316415fdab184 100755 --- a/product/ERP5Type/tests/runFunctionalTest.py +++ b/product/ERP5Type/tests/runFunctionalTest.py @@ -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=' %