From 4778e8d0066b080447d6ad05ad83023b4f07f531 Mon Sep 17 00:00:00 2001 From: Jeremy Kersten Date: Tue, 3 Oct 2017 11:18:38 +0200 Subject: [PATCH] [IMP] calendar: add assert to debug test --- addons/calendar/tests/test_calendar.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/addons/calendar/tests/test_calendar.py b/addons/calendar/tests/test_calendar.py index 0b342010cec..facdf9f70fd 100644 --- a/addons/calendar/tests/test_calendar.py +++ b/addons/calendar/tests/test_calendar.py @@ -118,7 +118,11 @@ class TestCalendar(TransactionCase): 'duration': 0.5, 'stop': '2017-07-12 15:00:00', }) - + self.assertEqual( + (m.start_datetime, m.stop_datetime), + (u'2017-07-12 14:30:00', u'2017-07-12 15:00:00'), + "Sanity check" + ) values = { 'allday': False, 'name': u'wheee',