tox.ini: add a nowarnings target
This commit is contained in:
parent
977455a304
commit
ed30de5b18
5
tox.ini
5
tox.ini
|
@ -21,6 +21,7 @@ setenv =
|
|||
rbac: DJANGO_SETTINGS_MODULE=django_rbac.test_settings
|
||||
fast: FAST=--nomigrations
|
||||
reusedb: REUSEDB=--reuse-db
|
||||
nowarnings: WARNINGS=--disable-warnings
|
||||
usedevelop =
|
||||
coverage: True
|
||||
nocoverage: False
|
||||
|
@ -50,8 +51,8 @@ deps =
|
|||
pytest-freezegun
|
||||
commands =
|
||||
./getlasso.sh
|
||||
authentic: py.test {env:FAST:} {env:REUSEDB:} {env:COVERAGE:} {posargs:tests/ --random}
|
||||
rbac: py.test {env:FAST:} {env:REUSEDB:} {env:COVERAGE:} {posargs:tests_rbac/}
|
||||
authentic: py.test {env:FAST:} {env:REUSEDB:} {env:COVERAGE:} {env:WARNINGS:} {posargs:tests/ --random}
|
||||
rbac: py.test {env:FAST:} {env:REUSEDB:} {env:COVERAGE:} {env:WARNINGS:} {posargs:tests_rbac/}
|
||||
coverage: mv coverage.xml coverage-{envname}.xml
|
||||
coverage-dj18-authentic-pg: mv htmlcov htmlcov-coverage-dj18-authentic-pg
|
||||
coverage-dj18-rbac-pg: mv htmlcov htmlcov-coverage-dj18-rbac-pg
|
||||
|
|
Loading…
Reference in New Issue