Skip to content

Commit 5a3e51f

Browse files
committed
Merge pull request #3496 from mboersma/controller-unit-coverage
feat(controller): restore coverage.py report for unit tests
2 parents f25cc54 + f4e5906 commit 5a3e51f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ test-style: setup-venv
6767
venv/bin/flake8
6868

6969
test-unit: setup-venv test-style
70-
venv/bin/python manage.py test --noinput api
70+
venv/bin/coverage run manage.py test --noinput api
71+
venv/bin/coverage report -m
7172

7273
test-functional:
7374
@docker history deis/test-etcd >/dev/null 2>&1 || docker pull deis/test-etcd:latest

0 commit comments

Comments
 (0)