diff --git a/tests/unit/converters/test_pgm_json_converter.py b/tests/unit/converters/test_pgm_json_converter.py index ba1a62ba..2b52191e 100644 --- a/tests/unit/converters/test_pgm_json_converter.py +++ b/tests/unit/converters/test_pgm_json_converter.py @@ -61,7 +61,7 @@ def pgm_sparse_batch_data(): def test_parse_data(converter: PgmJsonConverter, structured_input_data, structured_batch_data): - with pytest.raises(PowerGridSerializationError, match="Wrong data type for key data in the root level dictionary!"): + with pytest.raises(PowerGridSerializationError, match="Expect a map or array."): converter._parse_data(data="str", data_type="input", extra_info=None) # type: ignore # test for input dataset