Skip to content

Commit 01b33a5

Browse files
committed
cleanup
1 parent cc89dcb commit 01b33a5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

services/payments/tests/unit/test__model_examples.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,7 @@ def test_api_server_model_examples(
2424
assert model_cls.model_validate(example_data) is not None
2525
except ValidationError as err:
2626
pytest.fail(
27-
f"\n{example_name}: {json.dumps(example_data, indent=1)}\nError: {err}"
27+
f"{example_name} is invalid {model_cls.__module__}.{model_cls.__name__}:"
28+
f"\n{json.dumps(example_data, indent=1)}"
29+
f"\nError: {err}"
2830
)

0 commit comments

Comments
 (0)