Skip to content

Commit 81bf8e6

Browse files
committed
Merge pull request #790 from aanand/shorter-stack-traces
Shorter stack traces in tests
2 parents 7884ab9 + 95f42d1 commit 81bf8e6

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ unit-test-py3: build-py3
2020
docker run docker-py3 py.test tests/test.py tests/utils_test.py
2121

2222
integration-test: build
23-
docker run -v /var/run/docker.sock:/var/run/docker.sock docker-py py.test -rxs tests/integration_test.py
23+
docker run -v /var/run/docker.sock:/var/run/docker.sock docker-py py.test tests/integration_test.py
2424

2525
integration-test-py3: build-py3
26-
docker run -v /var/run/docker.sock:/var/run/docker.sock docker-py3 py.test -rxs tests/integration_test.py
26+
docker run -v /var/run/docker.sock:/var/run/docker.sock docker-py3 py.test tests/integration_test.py
2727

2828
integration-dind: build build-py3
2929
docker run -d --name dpy-dind --privileged dockerswarm/dind:1.8.1 docker -d -H tcp://0.0.0.0:2375
30-
docker run --env="DOCKER_HOST=tcp://docker:2375" --link=dpy-dind:docker docker-py py.test -rxs tests/integration_test.py
31-
docker run --env="DOCKER_HOST=tcp://docker:2375" --link=dpy-dind:docker docker-py3 py.test -rxs tests/integration_test.py
30+
docker run --env="DOCKER_HOST=tcp://docker:2375" --link=dpy-dind:docker docker-py py.test tests/integration_test.py
31+
docker run --env="DOCKER_HOST=tcp://docker:2375" --link=dpy-dind:docker docker-py3 py.test tests/integration_test.py
3232
docker rm -vf dpy-dind
3333

3434
flake8: build

pytest.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[pytest]
2+
addopts = --tb=short -rxs

0 commit comments

Comments
 (0)