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 b3cd4f8 commit e584983Copy full SHA for e584983
lambdas/shared/tests/test_common/test_errors.py
@@ -197,10 +197,10 @@ def test_errors_mandatory_error_no_message(self):
197
raise errors.MandatoryError()
198
self.assertIsNone(context.exception.message)
199
200
- def test_errors_validation_error(self):
201
- """Test correct operation of ValidationError"""
202
- with self.assertRaises(errors.ValidationError) as context:
203
- raise errors.ValidationError()
+ def test_errors_api_validation_error(self):
+ """Test correct operation of ApiValidationError"""
+ with self.assertRaises(errors.ApiValidationError) as context:
+ raise errors.ApiValidationError()
204
outcome = context.exception.to_operation_outcome()
205
self.assertIsNone(outcome)
206
0 commit comments