diff --git a/Dockerfile b/Dockerfile index c73dee9606..4c6825c966 100644 --- a/Dockerfile +++ b/Dockerfile @@ -141,10 +141,11 @@ RUN set -x \ && rm -rf "$GOPATH" # Get the "docker-py" source so we can run their integration tests -ENV DOCKER_PY_COMMIT 139850f3f3b17357bab5ba3edfb745fb14043764 +ENV DOCKER_PY_COMMIT 47ab89ec2bd3bddf1221b856ffbaff333edeabb4 RUN git clone https://github.com/docker/docker-py.git /docker-py \ && cd /docker-py \ - && git checkout -q $DOCKER_PY_COMMIT + && git checkout -q $DOCKER_PY_COMMIT \ + && pip install -r test-requirements.txt # Setup s3cmd config RUN { \ diff --git a/hack/make/test-docker-py b/hack/make/test-docker-py index 83fd620772..dece8315a3 100644 --- a/hack/make/test-docker-py +++ b/hack/make/test-docker-py @@ -12,7 +12,7 @@ set -e } # exporting PYTHONPATH to import "docker" from our local docker-py - test_env PYTHONPATH="$dockerPy" NOT_ON_HOST=true python "$dockerPy/tests/integration_test.py" + test_env PYTHONPATH="$dockerPy" py.test "$dockerPy/tests/integration" bundle .integration-daemon-stop ) 2>&1 | tee -a "$DEST/test.log"