diff options
| author | Denis Vermylen (dve) <dve@odoo.com> | 2016-11-17 16:58:20 +0100 |
|---|---|---|
| committer | DVE <dve@odoo.com> | 2016-11-18 01:12:40 +0100 |
| commit | 607741fa5df9d90b7b006363f0218e5395aab9f4 (patch) | |
| tree | 26d7bebca739f6dc1dac9984b37ee3166204af70 /doc/reference/workflow/split.dot | |
| parent | 639421e8a55b9e87ab07bbcf7313a73d0899dd4a (diff) | |
[FIX] sale_stock: 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
