diff options
| author | Numerigraphe - Lionel Sausin <ls@numerigraphe.fr> | 2010-11-12 15:10:41 +0100 |
|---|---|---|
| committer | Numerigraphe - Lionel Sausin <ls@numerigraphe.fr> | 2010-11-12 15:10:41 +0100 |
| commit | 182cf2b196da0d1f55ddfdcff62058b423e1bbc0 (patch) | |
| tree | 779b50e2e54b1624ba669b4a3f56bb6407c08d49 /bin/addons/base/test/test_context.xml | |
| parent | e013734045bbaae906748a8026455bac6786568e (diff) | |
| parent | cc0d270bab0d0b7862430c3e527f7edc02d1d587 (diff) | |
[MERGE] sync with the trunk
bzr revid: ls@numerigraphe.fr-20101112141041-19kpvr7pzxqankqo
Diffstat (limited to 'bin/addons/base/test/test_context.xml')
| -rw-r--r-- | bin/addons/base/test/test_context.xml | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/bin/addons/base/test/test_context.xml b/bin/addons/base/test/test_context.xml index f9a6f2055a5..44751644403 100644 --- a/bin/addons/base/test/test_context.xml +++ b/bin/addons/base/test/test_context.xml @@ -1,20 +1,20 @@ <?xml version="1.0" encoding="utf-8"?> <openerp> - <!-- Test context attribute for unit tests --> - <data context="{'date': '2001-06-01'}"> + <!-- 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 2001"> - <!-- date specified in data element's context --> - <test expr="str(rate)">0.631</test> - </assert> - <assert - model="res.currency" - id="INR" - string="Indian rupee rate in 2002" - context="{'date': '2002-06-01'}"> - <test expr="str(rate)">0.632</test> + model="res.currency" + id="INR" + string="Indian rupee rate in 2002" + context="{'date': '2010-06-01'}"> + <test expr="str(rate)">59.9739</test> </assert> </data> </openerp> |
