You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The failure is caused by newer jsonschema. In python-jsonschema/jsonschema@8cff13d, the error message is changed. To get through this test, I just changed the expected error message with:
diff --git a/tests/integration/test_validators.py b/tests/integration/test_validators.py
index 07bc4df..5663c4c 100644
--- a/tests/integration/test_validators.py+++ b/tests/integration/test_validators.py@@ -863,5 +863,5 @@ class TestOAS31ValidatorValidate(BaseTestOASValidatorValidate):
with pytest.raises(ValidationError) as excinfo:
validator.validate(value)
- error = "Expected at most 4 items, but found 5"+ error = "Expected at most 4 items but found 1 extra"
assert error in str(excinfo.value)
Not sure if the maintainer wants to support both older and newer error messages or not.
Hi, we're seeing the following test fail. Our environment is
The text was updated successfully, but these errors were encountered: