docker-py: upgrade and fix test script

Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
Tibor Vass 2015-10-28 12:56:50 -04:00
parent 96a6e810de
commit 8db141049f
2 changed files with 4 additions and 3 deletions

View File

@ -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 { \

View File

@ -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"