Commit 6a380c54 authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Cédric de Saint Martin

Provide more verbose error.

But keep simple assertion.
parent 3c0996eb
...@@ -365,6 +365,8 @@ class testVifibMixin(ERP5TypeTestCase): ...@@ -365,6 +365,8 @@ class testVifibMixin(ERP5TypeTestCase):
self.portal.portal_alarms.vifib_check_consistency.activeSense() self.portal.portal_alarms.vifib_check_consistency.activeSense()
transaction.commit() transaction.commit()
super(testVifibMixin, self).stepTic(**kw) super(testVifibMixin, self).stepTic(**kw)
self.assertEqual([], self.portal.portal_alarms.vifib_check_consistency\
.Alarm_getConsistencyCheckReportLineList())
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 # there shall be no divergency
......
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