-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: refactor test_basemap.py and add additional boundary handler te…
…sts (#280) * - Introduced `setup_boundary` fixture for test setup. - Added GeoJSON boundary setup and included BytesIO. - Expanded `test_create` to include tile generation for levels 8 to 12. - Enhanced PMTile validation with specific zoom level assertion. - Removed `test_init_with_bytesio` in `TestBoundaryHandlerFactory` due to an AttributeError. - Added tests for bounding box creation in `BytesIOBoundaryHandler` and `StringBoundaryHandler` classes. - Included validation tests for invalid and empty boundary strings. - Updated test methods to improve clarity and coverage. * Update test_basemap.py This update has been made to remove the useless / unnecessary code tests * Update test_basemap.py This update (fix) address and has been made to after removing the unwanted /useless or unnecessary tests from the PR * Delete tests/testdata/test.csv * test: fix osm output test (--> xml file) * ci: remove dup .xml from gitignore * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: spwoodcock <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
b466cd0
commit 12c0f41
Showing
4 changed files
with
104 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,6 @@ NEWS | |
*.xml | ||
*.geojson | ||
*.pbf | ||
*.xml | ||
*.html | ||
*.mbtiles | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.