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 cf1b01c commit 4727b28Copy full SHA for 4727b28
unit_tests/sources/declarative/validators/test_predicate_validator.py
@@ -40,7 +40,7 @@ def test_given_invalid_input_when_validate_then_raise_value_error(self):
40
with pytest.raises(ValueError) as context:
41
validator.validate()
42
43
- assert error_message in str(context.exception)
+ assert error_message in str(context.value)
44
assert strategy.validate_called
45
assert strategy.validated_value == test_value
46
0 commit comments