Commit 219ec8d3 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

test: enable activity tracking in debug mode.

parent a7d362c5
......@@ -813,6 +813,11 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin):
hot_reindexing=hot_reindexing,
erp5_catalog_storage=erp5_catalog_storage)
PortalTestCase.setUp(self)
if os.environ.get('erp5_debug_mode'):
try:
self.portal.portal_activities.manage_enableActivityTracking()
except AttributeError:
pass
def afterSetUp(self):
'''Called after setUp() has completed. This is
......
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