- Python 99.6%
- Dockerfile 0.2%
- Shell 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
The test was failing because it was looking for a docker-specific error message. It's now also looking for a libpod-specific error message. Signed-off-by: Valentin Rothberg <rothberg@redhat.com> |
||
| docker | ||
| docs | ||
| scripts | ||
| tests | ||
| .coveragerc | ||
| .dockerignore | ||
| .editorconfig | ||
| .gitignore | ||
| .readthedocs.yml | ||
| .travis.yml | ||
| appveyor.yml | ||
| CONTRIBUTING.md | ||
| Dockerfile | ||
| Dockerfile-docs | ||
| Dockerfile-py3 | ||
| docs-requirements.txt | ||
| Jenkinsfile | ||
| LICENSE | ||
| MAINTAINERS | ||
| Makefile | ||
| MANIFEST.in | ||
| pytest.ini | ||
| README.md | ||
| requirements.txt | ||
| setup.cfg | ||
| setup.py | ||
| test-requirements.txt | ||
| tox.ini | ||
This is a fork of docker/docker-py and used to facilitate the v2 API work of libpod. Some integration tests of docker-py will fail for various reasons (e.g., different error message); fixing these may not be possible in all cases. Hence, we need to adjust certain tests in order to make them pass.
Run make build-container-image to build the quay.io/libpod/docker-py:latest image locally.
Run make shell to run the container and get a shell.
Note that make shell mounts the current working directory to /src allowing to edit and adjust the tests on the host while running them in the container.
Run make test to run all integration tests.
Use the $TEST environment variable to control which tests are being executed, e.g., TEST="tests/integration/api_container_test.py::ListContainersTest make test.