[FIX] intermittent test failure
authorXavier Morel <xmo@openerp.com>
Mon, 10 Dec 2012 16:50:06 +0000 (17:50 +0100)
committerXavier Morel <xmo@openerp.com>
Mon, 10 Dec 2012 16:50:06 +0000 (17:50 +0100)
commit456ce8cd36590483fca9d77b656cab90952d117a
tree492cfdcb2e00f7b9d04bd54f40b9e1bf92566662
parentaee4b7fb92d56eb2b6bec63a9dd7e963187bb1c3
parent43ca577f991c02edf7f6473a7c63c5405aca1bbe
[FIX] intermittent test failure

when test is run right at the boundary between two seconds, after rounding to second generated date and reference date could differ.

check that generated date is within a small range (date created before and date created after) instead of equal to reference

bzr revid: xmo@openerp.com-20121210165006-y720xrwlo37sjwm8