[Erp5-report] r38416 nicolas - /erp5/trunk/products/ERP5Type/tests/ERP5TypeLiveTestCase.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Sep 16 14:13:34 CEST 2010
Author: nicolas
Date: Thu Sep 16 14:13:32 2010
New Revision: 38416
URL: http://svn.erp5.org?rev=38416&view=rev
Log:
Avoid patching activity_tool For LiveTest instances.
TimerService is probably already activated on the host instance.
With help of Julien.
Modified:
erp5/trunk/products/ERP5Type/tests/ERP5TypeLiveTestCase.py
Modified: erp5/trunk/products/ERP5Type/tests/ERP5TypeLiveTestCase.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/ERP5TypeLiveTestCase.py?rev=38416&r1=38415&r2=38416&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/ERP5TypeLiveTestCase.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/tests/ERP5TypeLiveTestCase.py [utf8] Thu Sep 16 14:13:32 2010
@@ -52,6 +52,12 @@ def profile_if_environ(environment_var_n
# No profiling, return identity decorator
return lambda self, method: method
+# Disable patching of activity tool,
+# Tic doesn't need help as TimserService is running
+from Products.ERP5Type.tests import ProcessingNodeTestCase as\
+ ProcessingNodeTestCaseModule
+ProcessingNodeTestCaseModule.patchActivityTool = lambda: None
+
class ERP5TypeLiveTestCase(ProcessingNodeTestCase, PortalTestCase):
"""ERP5TypeLiveTestCase is the default class for *all* tests
in ERP5. It is designed with the idea in mind that tests should
More information about the Erp5-report
mailing list