changeset db70896e8633 in modules/account_es:5.8
details: 
https://hg.tryton.org/modules/account_es?cmd=changeset&node=db70896e8633
description:
        Test amount of Spanish EC Operation List without digits

        issue9221
        (grafted from 3c9b72a55846e15f6f2e6a7c961ee3e5d2fa4c1d)
diffstat:

 tests/scenario_ec_operation_list.rst |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (11 lines):

diff -r 41e2ccca80de -r db70896e8633 tests/scenario_ec_operation_list.rst
--- a/tests/scenario_ec_operation_list.rst      Fri Feb 26 09:21:46 2021 +0100
+++ b/tests/scenario_ec_operation_list.rst      Sat Feb 27 10:53:57 2021 +0100
@@ -145,5 +145,5 @@
 
     >>> with config.set_context(context):
     ...     record, = ECOperationList.find([])
-    >>> record.amount
-    Decimal('0.0')
+    >>> record.amount == Decimal('0.0')
+    True

Reply via email to