[IMP] account: minor improvement in yaml test messages
bzr revid: odo@openerp.com-20111124174017-p0v9fqcp3l3snsvk
This commit is contained in:
parent
f31c1d85d8
commit
21b6c57893
|
@ -84,8 +84,8 @@
|
|||
except Exception, e:
|
||||
assert e, 'Warning message has not been raised'
|
||||
-
|
||||
I verify that 'Period Sum' and 'Year sum' of account tax codes gets bind with the values
|
||||
I verify that 'Period Sum' and 'Year sum' of the tax code are the expected values
|
||||
-
|
||||
!python {model: account.tax.code}: |
|
||||
tax_code = self.browse(cr, uid, ref('tax_case'))
|
||||
assert(tax_code.sum_period == 100.0 and tax_code.sum == 100.0), "'Period Sum' and 'Year sum' has not been binded with the correct values"
|
||||
assert(tax_code.sum_period == 100.0 and tax_code.sum == 100.0), "Incorrect 'Period Sum' / 'Year sum' expected twice 100.0, got period=%r and year=%r)" % (tax_code.sum_period,tax_code.sum)
|
||||
|
|
Loading…
Reference in New Issue