tree: 802ae5e3535baf72643f0f306a7a81d3cb8bfd55 [path history] [tgz]
  1. .gitignore
  2. cdms_reader.py
  3. conftest.py
  4. download_data.sh
  5. README.md
  6. requirements.txt
  7. test_collections.yaml
  8. test_sdap.py
tests/README.md

SDAP regression tests

To run:

pytest test_sdap.py --with-integration [--force-subset]

Options

  • --force-subset: Force the test for the /cdmssubset endpoint to be run. It is currently skipped by default until Zarr functionality can be incorporated into the subsetter algorithm.

Environment variables:

NameFunction
TEST_HOSTHost for SDAP. Ex http://localhost:8083/. Default: http://doms.jpl.nasa.gov
INSITU_ENDPOINTEndpoint URL for in-situ API calls. Default: http://doms.jpl.nasa.gov/insitu/1.0/query_data_doms_custom_pagination
INSITU_SWAGGER_ENDPOINTEndpoint URL for in-situ SwaggerUI. Default: http://doms.jpl.nasa.gov/insitu/1.0/insitu_query_swagger/

NOTE: When the CDMS Reader tool is available, replace cdms_reader.py in this directory with a soft link to /tools/cdms/cdms_reader.py