[trunk / 7.0] yaml tests disabled for stock, mrp and mrp_operation

Bug #1182515 reported by Alexandre Fayolle - camptocamp
38
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
Lionel Sausin - Initiatives/Numérigraphe

Bug Description

commit 6904.2.21 disabled all the yaml tests in the stock module in july 2012. The yaml files are still there. I suppose other changes in the commit broke the tests, but this is not the correct way to make runbot green.

Related branches

Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote :

The commit which merged 6904.2.21 into the main branch also merged the commenting out of yaml tests in mrp and mrp_operation :-(

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

We have improved the picking object on version7. Before it was same object (stock.picking) for Incoming shipment as well as Delivery Order. On version7 we have different object for Incoming shipment(stock.picking.in) and Delivery Order(stock.picking.out) inherits from the stock.picking.

That's why based on this we need to improve the yml test case, which was remaining that's why we comment all the yml on stock objects.

You are right, we have to develop correct ymls, So I am confirming this as a low Importance.

Thank you!

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Elias (rtxehi) wrote :

Why are tests for OpenERP "core-functionality" set to low-prio?

I would rather say that it should be pretty high.

Revision history for this message
Peter Langenberg (peter-langenberg) wrote :

Low priority ?

Revision history for this message
Amit Parik (amit-parik) wrote :

@Peter:

Low means its not a blocking point but we need to implement this, more details would you please look at https://doc.openerp.com/v6.0/contribute/11_bug_tracker.html/#bug-management-policy.

Thank you!

Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) wrote :

Hello Alexandre,

This issue has been fixed on the above project branch on line number : 2056 .

And This will merge in trunk soon.

Thank you.

Changed in openobject-addons:
status: Confirmed → Fix Committed
Revision history for this message
Numérigraphe (numerigraphe) wrote :

Will it be merged ?
Lionel Sausin.

Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

Hello,

I agree hiding the test is not the correct way to work. We have merged the above branch into trunk that refactors some tests and make them run as lower access user (so more strict test).
Thanks for the report

Changed in openobject-addons:
status: Fix Committed → Fix Released
Revision history for this message
Lionel Sausin - Initiatives/Numérigraphe (ls-initiatives) wrote :

Still not fixed for v7!
How can we trust the WMS in production without tests?

Changed in openobject-addons:
assignee: OpenERP R&D Addons Team 2 (openerp-dev-addons2) → Lionel Sausin - Numérigraphe (lionel-sausin)
summary: - [trunk / 7.0] yaml tests disabled for stock module
+ [trunk / 7.0] yaml tests disabled for stock, mrp and mrp_operation
Changed in ocb-addons:
assignee: nobody → Lionel Sausin - Numérigraphe (lionel-sausin)
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Lionel Sausin - Initiatives/Numérigraphe (ls-initiatives) wrote :

Luckily the tests were fixed on the trunk soon after 7.0 was released, so a backport was easy to do. I've pushed branches and made merge proposals for addons/7.0 and ocb-addons/7.0

Changed in openobject-addons:
milestone: none → 7.0
no longer affects: ocb-addons
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.