[IMP] base_calendar: improved yaml test to help debug
authorQuentin (OpenERP) <qdp-launchpad@openerp.com>
Wed, 12 Dec 2012 17:42:15 +0000 (18:42 +0100)
committerQuentin (OpenERP) <qdp-launchpad@openerp.com>
Wed, 12 Dec 2012 17:42:15 +0000 (18:42 +0100)
bzr revid: qdp-launchpad@openerp.com-20121212174215-kclquypqib680zju

addons/base_calendar/test/base_calendar_test.yml

index c84f3ce..7afd2e4 100644 (file)
@@ -26,7 +26,7 @@
 -
     !python {model: calendar.event}: |
      ids = self.search(cr, uid, [('date', '>=', '2011-04-30 16:00:00'), ('date', '<=', '2011-05-31 00:00:00')], context={'virtual_id': True} )
-     assert len(ids) == 9
+     assert len(ids) == 9, 'Wrong number of events found'
 -
   Now I will make All day event and test it
 -