Ran
|
Jobs
2
|
Files
30
|
Run time
2min
|
Badge
Embed ▾
README BADGES
|
travis-ci
<a href="https://github.com/OCA/sale-workflow/commit/<a class=hub.com/OCA/sale-workflow/commit/76b6ff2aeef91a5086027ad702518e15ff2e56b2">76b6ff2ae<a href="https://github.com/OCA/sale-workflow/commit/76b6ff2aeef91a5086027ad702518e15ff2e56b2">">Fix the tests on OCB branch (closes #37) The test failures of sale_exception_nostock on OCB branch are caused by https://github.com/OCA/OCB/commit/</a><a class="double-link" href="https://github.com/OCA/sale-workflow/commit/<a class="double-link" href="https://github.com/OCA/sale-workflow/commit/5d795c48fb394505d5a6bbf77961d63da05515c4">5d795c48f</a>">5d795c48f</a><a href="https://github.com/OCA/sale-workflow/commit/76b6ff2aeef91a5086027ad702518e15ff2e56b2"> which changed the date considered for the stock moves from `date_order` to `date_confirmed`. In order to restore the test behavior, we mock `datetime.now` which is ultimately used in `sale_order.action_wait` to write `date_confirm`. The current date is restored after each confirmation, in order to avoid impacting other aspects of the tests (if any). This does not impact the test on the official branch and gives the correct results on OCB.
541 of 817 relevant lines covered (66.22%)
1.32 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 134.1 (VERSION="7.0" ODOO_REPO="odoo/odoo") | 30 |
66.22 |
Travis Job 134.1 | |
2 | 134.2 (VERSION="7.0" ODOO_REPO="OCA/OCB") | 30 |
66.22 |
Travis Job 134.2 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|