From f4190cf21fb0e0c6f9c6805bb8c3099808b61c95 Mon Sep 17 00:00:00 2001 From: Nitish Bharambe Date: Thu, 2 Jan 2025 14:33:20 +0100 Subject: [PATCH] update message in test Signed-off-by: Nitish Bharambe --- tests/unit/converters/test_pgm_json_converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/converters/test_pgm_json_converter.py b/tests/unit/converters/test_pgm_json_converter.py index 8dbf8876..dc54b9c9 100644 --- a/tests/unit/converters/test_pgm_json_converter.py +++ b/tests/unit/converters/test_pgm_json_converter.py @@ -64,7 +64,7 @@ def pgm_sparse_batch_data(): def test_parse_data(converter: PgmJsonConverter, structured_input_data, structured_batch_data): - with pytest.raises(PowerGridSerializationError, match="Expect a map or array."): + with pytest.raises(PowerGridSerializationError, match="Map or an array expected."): converter._parse_data(data="str", data_type="input", extra_info=None) # type: ignore # test for input dataset