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
Fix tests for minimum properties and items (scrapinghub#432)
* Fix tests for minimum properties and items
In JSON Schema validation for minimum properties and items the data should be non-empty.
* Add tests for invalid empty properties and items
Add validation messages for empty properties and items that should be
non-empty.
* Fix warning from pytest trylast
Use decorator @pytest.hookimpl(trylast=True) instead @pytest.mark.trylast
* Fix warnings about literal comparations with 'is'
Change literal comparations from 'is' to '=='.
* Apply pre-commit
* Use jsonschema >= 3.2.0 for all python versions
* Define minimum version for JSON Schema
From version 4.21.0 JSON Schema to validation for minimum properties and items the data should be non-empty.
0 commit comments