[FIX] base : tests corrected
bzr revid: ach@tinyerp.com-20100924113452-8ok1fbtul9e8rxqe
This commit is contained in:
parent
e4e6e04a61
commit
8e4b9e6875
|
@ -5,7 +5,7 @@
|
|||
<assert
|
||||
model="res.currency.rate"
|
||||
search="[('currency_id', '=', ref('INR'))]"
|
||||
count="3"
|
||||
count="1"
|
||||
string="Rate entries for Indian rupee">
|
||||
<test expr="True"/>
|
||||
</assert>
|
||||
|
|
|
@ -6,15 +6,15 @@
|
|||
<!-- model="res.currency"-->
|
||||
<!-- id="INR"-->
|
||||
<!-- string="Indian rupee rate in 2009">-->
|
||||
<!-- <!-- date specified in data element's context -->-->
|
||||
<!-- date specified in data element's context -->
|
||||
<!-- <test expr="str(rate)">65.8287</test>-->
|
||||
<!-- </assert>-->
|
||||
<!-- </assert> -->
|
||||
<assert
|
||||
model="res.currency"
|
||||
id="INR"
|
||||
string="Indian rupee rate in 2002"
|
||||
context="{'date': '2010-06-01'}">
|
||||
<test expr="str(rate)">58.8287</test>
|
||||
<test expr="str(rate)">59.9739</test>
|
||||
</assert>
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
Loading…
Reference in New Issue