Failures in "base" test suite related to IBAN and VAT
Bug #1206557 reported by
Virgil Dupras
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Medium
|
OpenERP's Framework R&D |
Bug Description
When running the test suite for the "base" module, I get two failures.
The first one is about VAT validation. The dummy VAT numbers used are not valid Belgian VAT numbers and this causes a validation error which causes the test to wrongly fail. I've changed the VAT numbers to be valid ones
The second one is about bank accounts. The test creates dummy partner/bank relation and uses the first available bank type which, on my machine, happens to be the "iban" type. This type entails extra validation which make the test prematurely fail. I've made sure that the bank type used is the "bank" type.
A merge proposal is coming shortly.
Related branches
lp:~savoirfairelinux-openerp/openobject-server/testfix-bug1206557
Ready for review
for merging
into
lp:openobject-server/7.0
- OpenERP Core Team: Pending requested
-
Diff: 46 lines (+8/-5)2 files modifiedopenerp/addons/base/tests/test_base.py (+3/-3)
openerp/addons/base/tests/test_expression.py (+5/-2)
To post a comment you must log in.