We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
========================================================================================= FAILURES ========================================================================================== ____________________________________ test_validate[2019-09 -> unevaluatedItems.json -> unevaluatedItems with $recursiveRef -> with no unevaluated items] ____________________________________ metaschema_uri = URI('https://json-schema.org/draft/2019-09/schema') schema = {'$defs': {'tree': {'$id': '/tree', '$recursiveAnchor': True, 'items': [{'type': 'number'}, {'$comment': "unevaluatedI...False}], 'type': 'array'}}, '$id': 'https://example.com/extended-tree', '$recursiveAnchor': True, '$ref': '/tree', ...} data = [1, [2, [], 'b'], 'a'], valid = True, test_id = ('2019-09', 'unevaluatedItems.json', 'unevaluatedItems with $recursiveRef', 'with no unevaluated items') def test_validate(metaschema_uri, schema, data, valid, test_id): try: outcome = True json_schema = JSONSchema(schema, metaschema_uri=metaschema_uri) json_data = JSON(data) result = json_schema.evaluate(json_data).valid > assert result is valid E assert False is True tests/test_suite.py:179: AssertionError _____________________________ test_validate[2020-12 -> unevaluatedProperties.json -> unevaluatedProperties with $dynamicRef -> with no unevaluated properties] ______________________________ metaschema_uri = URI('https://json-schema.org/draft/2020-12/schema') schema = {'$defs': {'baseSchema': {'$comment': "unevaluatedProperties comes first so it's more likely to catch bugs with implem...'$id': 'https://example.com/derived', '$ref': '/baseSchema', '$schema': 'https://json-schema.org/draft/2020-12/schema'} data = {'bar': 'bar', 'foo': 'foo'}, valid = True, test_id = ('2020-12', 'unevaluatedProperties.json', 'unevaluatedProperties with $dynamicRef', 'with no unevaluated properties') def test_validate(metaschema_uri, schema, data, valid, test_id): try: outcome = True json_schema = JSONSchema(schema, metaschema_uri=metaschema_uri) json_data = JSON(data) result = json_schema.evaluate(json_data).valid > assert result is valid E assert False is True tests/test_suite.py:179: AssertionError _____________________________________ test_validate[2020-12 -> unevaluatedItems.json -> unevaluatedItems with $dynamicRef -> with no unevaluated items] _____________________________________ metaschema_uri = URI('https://json-schema.org/draft/2020-12/schema') schema = {'$defs': {'baseSchema': {'$comment': "unevaluatedItems comes first so it's more likely to catch bugs with implementat...'$id': 'https://example.com/derived', '$ref': '/baseSchema', '$schema': 'https://json-schema.org/draft/2020-12/schema'} data = ['foo', 'bar'], valid = True, test_id = ('2020-12', 'unevaluatedItems.json', 'unevaluatedItems with $dynamicRef', 'with no unevaluated items') def test_validate(metaschema_uri, schema, data, valid, test_id): try: outcome = True json_schema = JSONSchema(schema, metaschema_uri=metaschema_uri) json_data = JSON(data) result = json_schema.evaluate(json_data).valid > assert result is valid E assert False is True tests/test_suite.py:179: AssertionError ____________________________ test_validate[2019-09 -> unevaluatedProperties.json -> unevaluatedProperties with $recursiveRef -> with no unevaluated properties] _____________________________ metaschema_uri = URI('https://json-schema.org/draft/2019-09/schema') schema = {'$defs': {'tree': {'$id': '/tree', '$recursiveAnchor': True, 'properties': {'branches': {'$comment': "unevaluatedProp...required': ['node'], ...}}, '$id': 'https://example.com/extended-tree', '$recursiveAnchor': True, '$ref': '/tree', ...} data = {'branches': {'name': 'b', 'node': 2}, 'name': 'a', 'node': 1}, valid = True test_id = ('2019-09', 'unevaluatedProperties.json', 'unevaluatedProperties with $recursiveRef', 'with no unevaluated properties') def test_validate(metaschema_uri, schema, data, valid, test_id): try: outcome = True json_schema = JSONSchema(schema, metaschema_uri=metaschema_uri) json_data = JSON(data) result = json_schema.evaluate(json_data).valid > assert result is valid E assert False is True tests/test_suite.py:179: AssertionError ---------------------------------------------------------------------------------------------------- benchmark: 5 tests --------------------------------------------------------------------------------------------------- Name (time in us) Min Max Mean StdDev Median IQR Outliers OPS Rounds Iterations --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- test_create_json 120.4561 (1.0) 2,907.5249 (1.31) 221.6822 (1.0) 156.0310 (1.0) 208.9600 (1.0) 132.1904 (1.49) 573;435 4,510.9621 (1.0) 6805 1 test_evaluate_json[valid] 658.0651 (5.46) 2,222.1310 (1.0) 790.0868 (3.56) 213.7735 (1.37) 684.8020 (3.28) 117.6037 (1.33) 201;207 1,265.6838 (0.28) 1339 1 test_evaluate_json[invalid] 765.9090 (6.36) 2,380.0010 (1.07) 902.8774 (4.07) 239.3120 (1.53) 795.2830 (3.81) 88.6677 (1.0) 122;221 1,107.5700 (0.25) 1059 1 test_create_schema 1,999.0921 (16.60) 139,294.8350 (62.69) 2,930.2955 (13.22) 6,907.9101 (44.27) 2,152.6135 (10.30) 1,381.8820 (15.58) 1;3 341.2625 (0.08) 396 1 test_validate_schema 9,687.6140 (80.42) 98,669.3220 (44.40) 14,789.7360 (66.72) 10,588.4699 (67.86) 12,646.4330 (60.52) 5,481.2017 (61.82) 1;1 67.6145 (0.01) 73 1 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Legend: Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 1st Quartile and 3rd Quartile. OPS: Operations Per Second, computed as 1 / Mean ======================================================================== 4 failed, 2787 passed in 688.51s (0:11:28) ========================================================================= *** Error code 1
Version: 0.11.1 Python-3.11 FreeBSD 14.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version: 0.11.1
Python-3.11
FreeBSD 14.1
The text was updated successfully, but these errors were encountered: