No description
  • Python 99.6%
  • Dockerfile 0.2%
  • Shell 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Valentin Rothberg dc3b081053 fix tests/integration/api_image_test.py::PullImageTest
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>
2020-01-10 15:21:54 +01:00
docker Merge pull request #2444 from chris-crone/sync-release-4.1.0 2020-01-07 17:12:50 +01:00
docs Bump 4.1.0 2019-10-03 16:39:40 +02:00
scripts Fix versions.py to include release stage 2019-04-30 23:16:09 -07:00
tests fix tests/integration/api_image_test.py::PullImageTest 2020-01-10 15:21:54 +01:00
.coveragerc Add coverage 2014-07-11 16:13:00 +02:00
.dockerignore Makes docs builds faster and ensures proper ownership 2017-04-15 15:46:52 +02:00
.editorconfig Add EditorConfig to the repo. 2015-10-22 14:06:45 +00:00
.gitignore Add new Sphinx documentation 2016-11-22 17:05:43 +00:00
.readthedocs.yml Add readthedocs config 2019-05-18 19:13:45 -07:00
.travis.yml Stop supporting EOL Python 3.4 2019-05-01 19:51:29 -07:00
appveyor.yml Add Python 3.6 testing 2018-01-22 18:08:01 -08:00
CONTRIBUTING.md Rename non-URL occurrences of docker-py to "Docker SDK for Python" 2016-12-12 13:28:49 -08:00
Dockerfile Update to python 3.7 (buster) and use build-args 2019-07-15 13:27:07 +02:00
Dockerfile-docs Update to python 3.7 (buster) and use build-args 2019-07-15 13:27:07 +02:00
Dockerfile-py3 Update to python 3.7 (buster) and use build-args 2019-07-15 13:27:07 +02:00
docs-requirements.txt Add new Sphinx documentation 2016-11-22 17:05:43 +00:00
Jenkinsfile Fix CI labels so we run on amd64 nodes 2019-10-16 14:31:50 +02:00
LICENSE Fix licenses 2016-09-05 17:48:09 +02:00
MAINTAINERS Update MAINTAINERS file 2018-03-29 16:25:14 -07:00
Makefile Makefile: fix make test 2020-01-10 15:08:16 +01:00
MANIFEST.in Make dockerpycreds part of the SDK under docker.credentials 2019-04-30 23:37:55 -07:00
pytest.ini pytest: update to v4.2.1 - use xunit2 for compatibility with Jenkins 2019-08-11 02:13:30 +02:00
README.md Update README.md 2020-01-10 15:07:07 +01:00
requirements.txt Bump websocket-client -> 0.56.0 2019-06-19 14:09:47 +02:00
setup.cfg Add License to PyPi metadata 2017-03-17 13:39:55 -04:00
setup.py Stop supporting EOL Python 3.4 2019-05-01 19:51:29 -07:00
test-requirements.txt Bump pytest to 4.3.1 2019-10-01 17:21:38 -07:00
tox.ini Stop supporting EOL Python 3.4 2019-05-01 19:51:29 -07:00

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.