Commit 280003a6 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

unsubscribe from TimerService before running tests.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13403 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e7104086
......@@ -17,6 +17,7 @@ profile_dir = '%s/profile' % instance_home
def main():
setPreference()
unsubscribeFromTimerService()
status = getStatus()
xvfb_pid = None
firefox_pid = None
......@@ -83,6 +84,9 @@ def getStatus():
def setPreference():
urllib2.urlopen('http://%s:%d/%s/BTZuite_setPreference?__ac_name=ERP5TypeTestCase&__ac_password=' % (host, port, portal_name))
def unsubscribeFromTimerService():
urllib2.urlopen('http://%s:%d/%s/portal_activities/?unsubscribe:method=&__ac_name=ERP5TypeTestCase&__ac_password=' % (host, port, portal_name))
def sendResult():
result_uri = urllib2.urlopen('http://%s:%d/%s/TestTool_getResults' % (host, port, portal_name)).readline()
file_content = urllib2.urlopen(result_uri).read()
......
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