[FIX] project_long_term: another fix in test: today can be a full day of work for the current phase
bzr revid: odo@openerp.com-20111107121536-b21su3ytqu1zfzq0
This commit is contained in:
parent
503a5e8e7f
commit
cd18a31aa9
|
@ -70,7 +70,7 @@
|
|||
|
||||
second_phase = self.browse(cr, uid, ref('project_phase_secondphase0_case2'))
|
||||
start = first_phase.date_end
|
||||
end = (datetime.date.today() + relativedelta(days=5)).strftime('%Y-%m-%d')
|
||||
end = (datetime.date.today() + relativedelta(days=4)).strftime('%Y-%m-%d')
|
||||
assert second_phase.date_start >= start, 'Dates are wrong on second phase: %s < %s!' % (second_phase.date_start, start)
|
||||
assert second_phase.date_end >= end, 'Dates are wrong on second phase %s < %s!' % (second_phase.date_end, end)
|
||||
|
||||
|
|
Loading…
Reference in New Issue