Commit 7a4cc0dc authored by Łukasz Nowak's avatar Łukasz Nowak

Make stepCheckSiteConsistency local for a test.

It is using internally related to alarm last active process date, so create
such active process.
parent d3ae42dd
......@@ -159,6 +159,9 @@ class testVifibMixin(ERP5TypeTestCase):
Create ERP5 user.
This has to be called only once.
"""
# setup new active process for this test, in order have
# consistency report local for one test
self.portal.portal_alarms.vifib_check_consistency.newActiveProcess()
self.setupPortalCertificateAuthority()
import random
self.portal.portal_caches.erp5_site_global_id = '%s' % random.random()
......
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