[0.3.3] Fixed Task-2817 & Issue-2844 #53
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dev Board Ticket
Changes
*.{edges, nodes, points, lines, zones, polygons}.geojson; synced error template and tests.unit_test_overview.md.0.3.3and documented changes inCHANGELOG.md.Testing
Added 4 new test cases (all in
tests/unit_tests/test_helpers.pyandtests/unit_tests/test_osw_validation_extras.py).Task-2817 - would return the error in below format
[ { "filename":"graph.points.geojson", "feature_index":1, "error_message":[ "Additional properties are not allowed ('color' was unexpected). If you want to carry this tag, change it to ext:color" ] } ][ { "filename":"valid 2.zip", "feature_index":"None", "error_message":"Unsupported .geojson files present: wa.microsoft.graph.OSW.geojson. Allowed file names are *.{edges, nodes, points, lines, zones, polygons}.geojson" } ]