Christophe Simonis 2010-05-31 16:05:12 +02:00
parent ea3b439b5c
commit 74cf00b2fd
2 changed files with 15 additions and 0 deletions

View File

@ -74,6 +74,7 @@
'test': [
'test/base_test.xml',
'test/test_context.xml',
'bug_lp541545.xml',
],
'installable': True,
'active': True,

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<!-- Test count attribute for assertions -->
<data>
<assert
model="res.currency.rate"
search="[('currency_id', '=', ref('INR'))]"
count="3"
string="Rate entries for Indian rupee">
<test expr="True"/>
</assert>
</data>
</openerp>