Commit 2ab0a6a1 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Process activities bt5 per bt5 upon installation in unit tests.

When installing many bt5, many activities are generated which may take a very
long time to process, instead process them bt5 per bt5 to avoid such issue.
parent 195940fb
...@@ -966,6 +966,11 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin): ...@@ -966,6 +966,11 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin):
if not quiet: if not quiet:
ZopeTestCase._print('done (%.3fs)\n' % (time.time() - start)) ZopeTestCase._print('done (%.3fs)\n' % (time.time() - start))
# Process Activities after each bt5 installation, otherwise processing
# Activities can take forever when installing masterdata bt5s as it
# generate many activities
self.tic(verbose=1)
def setUpERP5Site(self, def setUpERP5Site(self,
business_template_list=(), business_template_list=(),
quiet=0, quiet=0,
......
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