~savoirfairelinux-openerp/openobject-server/testfix-bug1206557

Viewing all changes in revision 5040.

  • Committer: Virgil Dupras
  • Date: 2013-07-30 15:16:29 UTC
  • Revision ID: virgil.dupras@savoirfairelinux.com-20130730151629-1qb2b40chl12j1z9
[FIX] Fixed 2 tests in "base" test suite.

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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: