From 45ec1690ea3675a554643371c1aa2b3bb4498a3a Mon Sep 17 00:00:00 2001 From: davebulaval Date: Fri, 28 Jun 2024 15:09:50 -0400 Subject: [PATCH] fix tests --- tests/domain/contract/test_contract_fpq1_en.py | 3 +-- tests/domain/contract/test_contract_fpq1_fr.py | 1 + tests/domain/contract/test_endorsements_text_en.py | 6 ++---- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/domain/contract/test_contract_fpq1_en.py b/tests/domain/contract/test_contract_fpq1_en.py index eb88a82..c68300f 100644 --- a/tests/domain/contract/test_contract_fpq1_en.py +++ b/tests/domain/contract/test_contract_fpq1_en.py @@ -275,8 +275,7 @@ def test_section_a(self): "3.1 Description of principal coverage\n" "Section A covers the following risk: the financial consequences that an insured person may incur if " "held civilly liable for damage caused to another person by an insured vehicle.\n" - "The insured person's civil liability must arise from the fact that he or she is the owner of the " - "vehicle or " + "The insured person's civil liability must arise from the fact that he or she is the owner of the vehicle or " "was driving or using it.\n" f"{NEW_PAGE_TAG}\n" "OWNERS FORM\n" diff --git a/tests/domain/contract/test_contract_fpq1_fr.py b/tests/domain/contract/test_contract_fpq1_fr.py index 4be2ec4..de34521 100644 --- a/tests/domain/contract/test_contract_fpq1_fr.py +++ b/tests/domain/contract/test_contract_fpq1_fr.py @@ -981,6 +981,7 @@ def test_generation_loss_and_claims_reporting(self): "F.P.Q. N 1 - POLICE D'ASSURANCE AUTOMOBILE DU QUÉBEC (2014-03)\n" "Approuvée par l'Autorité des marchés financiers\n" "\t n'a pas respecté le contrat d'assurance.\n" + "4. ARBITRAGE EN CAS DE DÉSACCORD ENTRE L'ASSURÉ DÉSIGNÉ ET L'ASSUREUR 26\n" "4.1 Faire une demande d'arbitrage\n" "L'assuré désigné ou l'assureur peuvent faire une demande d'arbitrage s'ils ne sont pas d'accord " "sur les questions suivantes :\n" diff --git a/tests/domain/contract/test_endorsements_text_en.py b/tests/domain/contract/test_endorsements_text_en.py index 71b7173..0659025 100644 --- a/tests/domain/contract/test_endorsements_text_en.py +++ b/tests/domain/contract/test_endorsements_text_en.py @@ -1218,8 +1218,7 @@ def test_faq28_text(self): "This endorsement limits coverage under the insurance contract when the specified vehicle is, " "at the time of the loss, being driven or used by: (named driver)\n" "In such instance, coverage will be limited to the following perils, or to those " - "perils entered specifically for this endorsement in the ''Declarations'' section of the insurance " - "contract:\n" + "perils entered specifically for this endorsement in the ''Declarations'' section of the insurance contract:\n" "COVERAGE | PERILS | AMOUNT OF INSURANCE AND DEDUCTIBLE | COVERED/NOT COVERED\n" "Section A: Civil liability | Property damage or bodily injury to another person | " "Amount of insurance: $ | $\n" @@ -1384,8 +1383,7 @@ def test_faq34_text(self): "or employment for wages or profit on a permanent basis.\n" "The named insured may not receive benefits greater than the money value of " "any occupation or employment that he engaged in for wages or profit before the accident.\n" - "If the named insured is covered under several insurance policies, benefits will be calculated as " - "follows:\n" + "If the named insured is covered under several insurance policies, benefits will be calculated as follows:\n" "Money value of all occupations and employment / Total benefits payable for the " "disability under all insurance policies X (times) Benefit payable under Division 2 of this endorsement\n" "EXCLUSIONS\n"