changeset b87162e4fa49 in modules/account_es:default
details:
https://hg.tryton.org/modules/account_es?cmd=changeset;node=b87162e4fa49
description:
Update tests for new report name scheme
issue9509
diffstat:
tests/scenario_reporting.rst | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r 682c48bf737a -r b87162e4fa49 tests/scenario_reporting.rst
--- a/tests/scenario_reporting.rst Thu Jul 09 10:21:06 2020 +0100
+++ b/tests/scenario_reporting.rst Thu Sep 24 18:28:44 2020 +0200
@@ -212,8 +212,8 @@
>>> with file_open('account_es/tests/347.txt') as f:
... content == f.read()
True
- >>> name
- 'AEAT Model 347'
+ >>> name.startswith('AEAT Model 347')
+ True
>>> ECOperationList = Model.get('account.reporting.es_ec_operation_list')
>>> context = {
@@ -230,5 +230,5 @@
>>> with file_open('account_es/tests/349.txt') as f:
... content == f.read()
True
- >>> name
- 'AEAT Model 349'
+ >>> name.startswith('AEAT Model 349')
+ True