0001-produce-a-coverage-report-when-running-tests-6934.patch
tox.ini | ||
---|---|---|
4 | 4 |
# and then run "tox" from this directory. |
5 | 5 | |
6 | 6 |
[tox] |
7 |
envlist = django17
|
|
7 |
envlist = clean,django17,stats
|
|
8 | 8 | |
9 | 9 |
[testenv:django17] |
10 | 10 |
# django.contrib.auth is not tested it does not work with our templates |
11 | 11 |
commands = |
12 | 12 |
./getlasso.sh |
13 |
./authentic2-ctl test authentic2 |
|
13 |
coverage run --source=src/ -a ./authentic2-ctl test authentic2 |
|
14 |
usedevelop = True |
|
14 | 15 |
deps = django>1.7,<1.8 |
16 |
coverage |
|
15 | 17 | |
18 |
[testenv:clean] |
|
19 |
commands = coverage erase |
|
20 |
deps = coverage |
|
16 | 21 | |
17 | ||
22 |
[testenv:stats] |
|
23 |
commands = coverage xml |
|
24 |
deps = coverage |
|
18 |
- |