diff --git a/datatypes/epc/domain/tests/test_from_sap_schema.py b/datatypes/epc/domain/tests/test_from_sap_schema.py index 574a1a61..7a682c8d 100644 --- a/datatypes/epc/domain/tests/test_from_sap_schema.py +++ b/datatypes/epc/domain/tests/test_from_sap_schema.py @@ -732,8 +732,9 @@ class TestFromSapSchema16_2: epc = EpcPropertyDataMapper.from_api_response(load("sap_17_0.json")) assert isinstance(epc, EpcPropertyData) assert epc.uprn == 10023444324 - # lodged 82; engine produces 80. - assert Sap10Calculator().calculate(epc).sap_score == 80 + # lodged 82; the engine now also produces 82 — the cert's lodged PV is + # credited (previously dropped by the full-SAP mapper, under-rating to 80). + assert Sap10Calculator().calculate(epc).sap_score == 82 def test_18_0_0_dispatches_via_full_sap_path(self) -> None: # SAP-Schema-18.0.0 is the full-SAP 17.1 shape; dispatched to