-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
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
- Refactor test_basemap.py and add additional boundary handler tests #280
Conversation
setup_boundary
fixture for test
Thanks @RonaldRonnie ! Sorry for the delay in review - I will check the code over now 👍 Related to #203 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A good first attempt for sure!
Nice work - thanks for the contribution 🙏
Could you possibly address the small fixes I suggested, then I can merge in the code after testing 😄
Also, apologies but the test_basemap.py file is out of sync with the main branch. Could you merge in the main branch and resolve conflicts please? |
Thank you @spwoodcock for the feedback. So should I first work again on the tests? any advice about this |
For sure! If you resolved all the issues and push your latest code, I can review it again and merge 😄 |
Thank you @spwoodcock , do i have to first close the PR here and the make another one? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I just need to run the tests to verify when on my laptop 👍
But looks ready to merge!
I will be pleased for the feedback |
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.
This update has been made to remove the useless / unnecessary code tests
This update (fix) address and has been made to after removing the unwanted /useless or unnecessary tests from the PR
Sorry it took so long to test this! Everything works great 🙏 |
for more information, see https://pre-commit.ci
thank you. Am humbled
…On Mon, 19 Aug 2024 at 14:50, Sam ***@***.***> wrote:
Sorry it took so long to test this!
Everything works great 🙏
Nice work 😄
—
Reply to this email directly, view it on GitHub
<#280 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BBVREP5RY3BEJRJBTZMFW4LZSHLZTAVCNFSM6AAAAABL25ZZFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJWGM4DMNRTGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
setup.
BytesIO.
test_create
to include tilegeneration for levels 8 to 12.
level assertion.
test_init_with_bytesio
inTestBoundaryHandlerFactory
due to anAttributeError.
BytesIOBoundaryHandler
andStringBoundaryHandler
classes.boundary strings.
coverage.