Commit 6a2ce29d authored by Nicolas Delaby's avatar Nicolas Delaby

Avoid patching activity_tool For LiveTest instances.

TimerService is probably already activated on the host instance.
With help of Julien.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38416 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7fae25ad
......@@ -52,6 +52,12 @@ def profile_if_environ(environment_var_name):
# 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
......
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