Skip to content

Commit

Permalink
update message in test
Browse files Browse the repository at this point in the history
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
  • Loading branch information
nitbharambe committed Jan 2, 2025
1 parent 778ff69 commit f4190cf
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 f4190cf

Please sign in to comment.