Commit 5fcf2571 authored by Łukasz Nowak's avatar Łukasz Nowak

Check that nothing is to solve.

parent a0f0e6cc
...@@ -365,3 +365,14 @@ class testVifibMixin(ERP5TypeTestCase): ...@@ -365,3 +365,14 @@ class testVifibMixin(ERP5TypeTestCase):
transaction.commit() transaction.commit()
super(testVifibMixin, self).stepTic(**kw) super(testVifibMixin, self).stepTic(**kw)
self.assertFalse(self.portal.portal_alarms.vifib_check_consistency.sense()) self.assertFalse(self.portal.portal_alarms.vifib_check_consistency.sense())
# there shall be no divergency
current_skin = self.app.REQUEST.get('portal_skin', 'View')
try:
# Note: Worklists are cached, so in order to have next correct result
# clear cache
self.clearCache()
self.changeSkin('RSS')
self.assertFalse('to Solve' in self.portal.ERP5Site_viewWorklist())
finally:
self.changeSkin(current_skin)
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