<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <!-- Test context attribute for unit tests -->
    <data context="{'date': '2009-06-01'}">
<!--        <assert -->
<!--            model="res.currency"-->
<!--            id="INR"-->
<!--            string="Indian rupee rate in 2009">-->
            <!-- date specified in data element's context -->
<!--            <test expr="str(rate)">65.8287</test>-->
<!--        </assert> -->
        <assert
            model="res.currency"
            id="INR"
            string="Indian rupee rate in 2002"
            context="{'date': '2010-06-01'}">
            <test expr="rate_ids and str(rate_ids[0].rate)">59.9739</test>
        </assert>
    </data>
</openerp>
