Commit 30107615 authored by Jérome Perrin's avatar Jérome Perrin Committed by Łukasz Nowak

software/erp5/test: fix test_multiple_zope_family_log_files for neo

There are more log files with neo
parent 9f16853f
...@@ -866,6 +866,16 @@ class ZopeTestMixin(ZopeSkinsMixin, CrontabMixin): ...@@ -866,6 +866,16 @@ class ZopeTestMixin(ZopeSkinsMixin, CrontabMixin):
] ]
self.assertEqual( self.assertEqual(
sorted([l for l in logfiles if l.startswith('zope')]), [ sorted([l for l in logfiles if l.startswith('zope')]), [
'zope-0-Z2.log',
'zope-0-event.log',
'zope-0-neo-root.log',
'zope-1-Z2.log',
'zope-1-event.log',
'zope-1-neo-root.log',
'zope-2-Z2.log',
'zope-2-event.log',
'zope-2-neo-root.log',
] if '_neo' in self.__class__.__name__ else [
'zope-0-Z2.log', 'zope-0-Z2.log',
'zope-0-event.log', 'zope-0-event.log',
'zope-1-Z2.log', 'zope-1-Z2.log',
......
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