-
Notifications
You must be signed in to change notification settings - Fork 123
Improve unit tests #155
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
Labels
Comments
This was referenced Aug 19, 2020
whatnick
pushed a commit
to whatnick/pystac
that referenced
this issue
Aug 19, 2020
Signed-off-by: Tisham Dhar <[email protected]>
whatnick
pushed a commit
to whatnick/pystac
that referenced
this issue
Aug 19, 2020
Signed-off-by: Tisham Dhar <[email protected]>
schwehr
added a commit
to schwehr/pystac
that referenced
this issue
Oct 26, 2020
- Add TODO for lines not covered by test_link.py - Add StaticLinkTest class without setUp
This issue should be updated to reference new home, possibly broken up into sub-issues for each section that requires unit tests. |
Closing as this list is out of date. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We would like to improve unit tests in some portions of the code base. Here are some locations that could use additional testing. Feel free to not limit yourself to these examples.
can_extend
method of base extension object https://github.com/azavea/pystac/blob/2605f271da7e9e267cf706a2c72e29d1f32785ce/pystac/extensions/base.py#L208TemporalExtent
constructor edge cases, including invalid interval arguments https://github.com/azavea/pystac/blob/2605f271da7e9e267cf706a2c72e29d1f32785ce/pystac/collection.py#L359start_is_dir=True
https://github.com/azavea/pystac/blob/2605f271da7e9e267cf706a2c72e29d1f32785ce/pystac/utils.py#L42geometry_to_bbox
https://github.com/azavea/pystac/blob/2605f271da7e9e267cf706a2c72e29d1f32785ce/pystac/utils.py#L161ResolvedObjectCollectionCache
https://github.com/azavea/pystac/blob/2605f271da7e9e267cf706a2c72e29d1f32785ce/pystac/cache.py#L193stac_extensions
property (https://github.com/azavea/pystac/blob/2605f271da7e9e267cf706a2c72e29d1f32785ce/pystac/extensions/view.py#L23)StacVersionRange
comparisons https://github.com/azavea/pystac/blob/5a2f9278e76cbfc03643ebd0ee90bc98ab03aaeb/tests/serialization/test_identify.py#L55SingleFileSTACCAtalogExt
https://github.com/azavea/pystac/blob/5a2f9278e76cbfc03643ebd0ee90bc98ab03aaeb/pystac/extensions/single_file_stac.py#L125The text was updated successfully, but these errors were encountered: