Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Martijn Govers <[email protected]>
  • Loading branch information
mgovers committed Nov 13, 2023
1 parent 7287f03 commit c9c48c3
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 @@ -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
Expand Down

0 comments on commit c9c48c3

Please sign in to comment.