Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
R-Palazzo committed Jul 29, 2024
1 parent a0bfd57 commit f8bb206
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/unit/reports/test_base_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,10 @@ def test_generate_metadata_not_dict(self):
metadata = 'metadata'

# Run and Assert
expected_message = 'The provided metadata is not a dictionary.'
expected_message = (
"Expected a dictionary but received a 'str' instead. For SDV metadata objects, "
"please use the 'to_dict' function to convert it to a dictionary."
)
with pytest.raises(TypeError, match=expected_message):
base_report.generate(real_data, synthetic_data, metadata, verbose=False)

Expand Down

0 comments on commit f8bb206

Please sign in to comment.