From 4a4aaec0d3529f6b09f7e75f79fab84d128647f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 24 Sep 2020 18:28:44 +0200 Subject: [PATCH] Update tests for new report name scheme issue9509 --- tests/scenario_reporting.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/scenario_reporting.rst b/tests/scenario_reporting.rst index 816e5ea7bf..65be801da3 100644 --- a/tests/scenario_reporting.rst +++ b/tests/scenario_reporting.rst @@ -212,8 +212,8 @@ Generate aeat reports:: >>> 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 @@ Generate aeat reports:: >>> with file_open('account_es/tests/349.txt') as f: ... content == f.read() True - >>> name - 'AEAT Model 349' + >>> name.startswith('AEAT Model 349') + True