diff --git a/tests/ocpp_tests/test_sets/ocpp16/california_pricing_ocpp16.py b/tests/ocpp_tests/test_sets/ocpp16/california_pricing_ocpp16.py index 3151b10991..527aa23bfe 100644 --- a/tests/ocpp_tests/test_sets/ocpp16/california_pricing_ocpp16.py +++ b/tests/ocpp_tests/test_sets/ocpp16/california_pricing_ocpp16.py @@ -1020,6 +1020,15 @@ async def test_cost_and_price_set_price_text(self, test_config: OcppTestConfigur response = await charge_point_v16.change_configuration_req(key="DefaultPriceText,de", value=json.dumps(price_text)) assert response.status == "Accepted" + # Set price text for specific language. + price_text = { + "priceText": "€0.15 / kWh, Leerlaufgebühr nach dem Aufladen: 2 $/hr", + "priceTextOffline": "Die Station ist offline. Laden ist für €0,15/kWh möglich" + } + + response = await charge_point_v16.change_configuration_req(key="DefaultPriceText,de", value=json.dumps(price_text)) + assert response.status == "Accepted" + # Get price text for specific language to check if it is set. response = await charge_point_v16.get_configuration_req(key=['DefaultPriceText,de'])