diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-01-25 18:50:13 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-01-25 18:50:13 +0000 |
| commit | bdb997df9fcfb3c5a99603da7f580015eb145394 (patch) | |
| tree | eda9276ee06cc3fbf65db2c05269af7d7ed4e746 /dev-python/openapi-schema-validator/files | |
| parent | a1f350b058c9750cd6074a805a611cd985a18117 (diff) | |
| download | baldeagleos-repo-bdb997df9fcfb3c5a99603da7f580015eb145394.tar.gz baldeagleos-repo-bdb997df9fcfb3c5a99603da7f580015eb145394.tar.xz baldeagleos-repo-bdb997df9fcfb3c5a99603da7f580015eb145394.zip | |
Adding metadata
Diffstat (limited to 'dev-python/openapi-schema-validator/files')
| -rw-r--r-- | dev-python/openapi-schema-validator/files/openapi-schema-validator-0.6.2-test.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/dev-python/openapi-schema-validator/files/openapi-schema-validator-0.6.2-test.patch b/dev-python/openapi-schema-validator/files/openapi-schema-validator-0.6.2-test.patch deleted file mode 100644 index 2937a867a1d2..000000000000 --- a/dev-python/openapi-schema-validator/files/openapi-schema-validator-0.6.2-test.patch +++ /dev/null @@ -1,24 +0,0 @@ -From dfb83c2961bcb6541c8c5e483f10389c77a4f5a0 Mon Sep 17 00:00:00 2001 -From: p1c2u <maciag.artur@gmail.com> -Date: Sat, 16 Mar 2024 17:05:13 +0000 -Subject: [PATCH 2/2] Jsonschema 4.20 prefixItems test fix - -Upstream-PR: https://github.com/python-openapi/openapi-schema-validator/pull/165 - -diff --git a/tests/integration/test_validators.py b/tests/integration/test_validators.py -index 07bc4df..07dfaa9 100644 ---- a/tests/integration/test_validators.py -+++ b/tests/integration/test_validators.py -@@ -863,5 +863,10 @@ def test_array_prefixitems_invalid(self, validator_class, value): - with pytest.raises(ValidationError) as excinfo: - validator.validate(value) - -- error = "Expected at most 4 items, but found 5" -- assert error in str(excinfo.value) -+ errors = [ -+ # jsonschema < 4.20.0 -+ "Expected at most 4 items, but found 5", -+ # jsonschema >= 4.20.0 -+ "Expected at most 4 items but found 1 extra", -+ ] -+ assert any(error in str(excinfo.value) for error in errors) |
