[Erp5-report] r13403 - /erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Mar 13 14:43:16 CET 2007


Author: kazuhiko
Date: Tue Mar 13 14:42:29 2007
New Revision: 13403

URL: http://svn.erp5.org?rev=13403&view=rev
Log:
unsubscribe from TimerService before running tests.

Modified:
    erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py

Modified: erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py?rev=13403&r1=13402&r2=13403&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py (original)
+++ erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py Tue Mar 13 14:42:29 2007
@@ -17,6 +17,7 @@
 
 def main():
   setPreference()
+  unsubscribeFromTimerService()
   status = getStatus()
   xvfb_pid = None
   firefox_pid = None
@@ -83,6 +84,9 @@
 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()




More information about the Erp5-report mailing list