We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc89dcb commit 01b33a5Copy full SHA for 01b33a5
services/payments/tests/unit/test__model_examples.py
@@ -24,5 +24,7 @@ def test_api_server_model_examples(
24
assert model_cls.model_validate(example_data) is not None
25
except ValidationError as err:
26
pytest.fail(
27
- f"\n{example_name}: {json.dumps(example_data, indent=1)}\nError: {err}"
+ f"{example_name} is invalid {model_cls.__module__}.{model_cls.__name__}:"
28
+ f"\n{json.dumps(example_data, indent=1)}"
29
+ f"\nError: {err}"
30
)
0 commit comments