diff options
| author | Denis Vermylen (dve) <dve@odoo.com> | 2016-11-17 17:24:03 +0100 |
|---|---|---|
| committer | DVE <dve@odoo.com> | 2016-11-18 01:12:40 +0100 |
| commit | a799bf328d6d5b51689651a4bdaa99050b3cd215 (patch) | |
| tree | 277698257861bbeef9752dddcc5e1a19ae4e2bf4 /doc/reference/workflow/split.dot | |
| parent | 607741fa5df9d90b7b006363f0218e5395aab9f4 (diff) | |
[FIX] sale_mrp: add flexibility to tests
test_sale_stock_lead_time.py compares dates and expect them to be the same.
Sometimes, the dates would differ by a second, because they are generated at
different moment during the execution.
This commit adds a tolerance of 1 second when comparing the dates.
(and changed from comparing Datetime strings to comparing timedeltas)
Diffstat (limited to 'doc/reference/workflow/split.dot')
0 files changed, 0 insertions, 0 deletions
