Skip to content
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

datacube lacks pytest plugin packages for application built on odc integration testing #1274

Closed
pindge opened this issue Jun 8, 2022 · 4 comments
Assignees

Comments

@pindge
Copy link
Contributor

pindge commented Jun 8, 2022

digitalearthau (https://github.com/GeoscienceAustralia/digitalearthau) github repo has a testing package that prepares an empty database for odc testing, digitalearthau split pathways with current datacube-core years ago, it originally was kept to enable testing exclusively digitalearthaustralia products, most of the repo's code are no longer maintained, but this testing package would be great assets to include in opendatacube/datacube-core

https://github.com/GeoscienceAustralia/digitalearthau/blob/071d3e649b2c074a660220bc03857af623d7855b/digitalearthau/testing/factories.py#L38-L61

https://github.com/GeoscienceAustralia/digitalearthau/blob/071d3e649b2c074a660220bc03857af623d7855b/digitalearthau/testing/factories.py#L64-L74

https://github.com/GeoscienceAustralia/digitalearthau/blob/071d3e649b2c074a660220bc03857af623d7855b/digitalearthau/testing/factories.py#L77-L100

this allows applications built on odc to init database, add metadata, add product and add datasets for integration testing, i.e.

https://github.com/opendatacube/datacube-explorer/blob/e8c1c268e4b4c9bb4d75ab9968a25e1b539f5761/integration_tests/conftest.py#L42-L106

@stale
Copy link

stale bot commented Oct 12, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@omad
Copy link
Member

omad commented Nov 21, 2022

@stale
Copy link

stale bot commented Mar 23, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 23, 2023
@Ariana-B Ariana-B removed the wontfix label May 5, 2023
@Ariana-B
Copy link
Contributor

Duplicate of #1334

@Ariana-B Ariana-B marked this as a duplicate of #1334 May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants