[FIX] base_calendar: yaml test cannot work dynamically because the number of mondays and fridays in may is not the same every year (in 2012 there are 8 for example)

bzr revid: qdp-launchpad@tinyerp.com-20110113170241-mlsy29sst3cthkb8
This commit is contained in:
qdp-launchpad@tinyerp.com
2011-01-13 18:02:41 +01:00
parent 6c7c712235
commit 6004ee577d
@@ -3,8 +3,8 @@
-
!record {model: calendar.event, id: calendar_event_technicalpresentation0}:
class: private
date: !eval "'%s-04-30 16:00:00' %(datetime.now().year)"
date_deadline: !eval "'%s-04-30 18:30:00' %(datetime.now().year)"
date: '2011-04-30 16:00:00'
date_deadline: '2011-04-30 18:30:00'
description: The Technical Presentation will cover following topics:\n* Creating OpenERP
class\n* Views\n* Wizards\n* Workflows
duration: 2.5
@@ -35,8 +35,8 @@
!record {model: calendar.event, id: calendar_event_alldaytestevent0}:
allday: 1
class: confidential
date: !eval "'%s-04-30 00:00:00' %(datetime.now().year)"
date_deadline: !eval "'%s-04-30 00:00:00' %(datetime.now().year)"
date: '2011-04-30 00:00:00'
date_deadline: '2011-04-30 00:00:00'
description: 'All day technical test '
location: School
name: All day test event