Merge pull request #11 in SSA/data from SSA-6324-df-pytest-docker to main
* commit '853abdcd': Fixing SHELL issue in Dockerfile SSA-6324: trying a different way of running setup SSA-6324: All tests pass when run locally. In Docker container, tests that exercise the CLI all fail, unable to find the "datafetcher" entry_point. SSA-6324: tests pass when run locally; some fail in Docker container. Committing what I've got so as not to lose it after tearing my hair out for a day and a half. SSA-6324: trhing to resolve package conflicts SSA-6324: 'docker build' is running into package conflicts SSA-6324: placate Pylint somewhat; this time -really- get rid of the properties file after the Docker image is built; look what Pathlib can do! SSA-6324: using Pathlib instead of os where possible. added a little more documentation. SSA-6324: pytest on datafetcher_test.py executes in a Docker container. capo properties file is copied to the docker build directory, then deleted. initial commit; datafetcher_test.py passes pytest
No related branches found
No related tags found
Showing
- apps/cli/executables/datafetcher/setup.cfg 0 additions, 3 deletionsapps/cli/executables/datafetcher/setup.cfg
- apps/cli/executables/datafetcher/setup.py 27 additions, 1 deletionapps/cli/executables/datafetcher/setup.py
- apps/cli/executables/datafetcher/src/datafetcher/file_retrievers.py 14 additions, 18 deletions...xecutables/datafetcher/src/datafetcher/file_retrievers.py
- apps/cli/executables/datafetcher/src/datafetcher/locations_report.py 9 additions, 7 deletions...ecutables/datafetcher/src/datafetcher/locations_report.py
- apps/cli/executables/datafetcher/src/datafetcher/product_fetchers.py 4 additions, 4 deletions...ecutables/datafetcher/src/datafetcher/product_fetchers.py
- apps/cli/executables/datafetcher/src/datafetcher/utilities.py 10 additions, 26 deletions.../cli/executables/datafetcher/src/datafetcher/utilities.py
- apps/cli/executables/datafetcher/test-requirements.txt 0 additions, 5 deletionsapps/cli/executables/datafetcher/test-requirements.txt
- apps/cli/executables/datafetcher/test/Dockerfile 42 additions, 0 deletionsapps/cli/executables/datafetcher/test/Dockerfile
- apps/cli/executables/datafetcher/test/datafetcher_test.py 194 additions, 160 deletionsapps/cli/executables/datafetcher/test/datafetcher_test.py
- apps/cli/executables/datafetcher/test/docker-build.sh 77 additions, 0 deletionsapps/cli/executables/datafetcher/test/docker-build.sh
- apps/cli/executables/datafetcher/test/locations_report_test.py 0 additions, 300 deletions...cli/executables/datafetcher/test/locations_report_test.py
- apps/cli/executables/datafetcher/test/logging_test.py 0 additions, 75 deletionsapps/cli/executables/datafetcher/test/logging_test.py
- apps/cli/executables/datafetcher/test/retriever_test.py 0 additions, 432 deletionsapps/cli/executables/datafetcher/test/retriever_test.py
- apps/cli/executables/datafetcher/test/testing_utils.py 69 additions, 10 deletionsapps/cli/executables/datafetcher/test/testing_utils.py
- apps/cli/executables/datafetcher/tox.ini 5 additions, 0 deletionsapps/cli/executables/datafetcher/tox.ini
- environment.yml 1 addition, 0 deletionsenvironment.yml
Loading
Please register or sign in to comment