Commit 328836c2 authored by Jérome Perrin's avatar Jérome Perrin

software/erp5/test: fix test_multiple_zope_family_log_files for neo

There are more log files with neo
parent 7c8a0c6c
...@@ -855,6 +855,16 @@ class ZopeTestMixin(ZopeSkinsMixin, CrontabMixin): ...@@ -855,6 +855,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