Skip to content

Commit

Permalink
Merge pull request #284 from PowerGridModel/fix/deserialization-msg-p…
Browse files Browse the repository at this point in the history
…gm-update

Update message in test for deserialization in PGM
  • Loading branch information
figueroa1395 authored Jan 2, 2025
2 parents 778ff69 + f4190cf commit 5f0c1b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/converters/test_pgm_json_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f0c1b2

Please sign in to comment.