tox.ini: add a reusedb target
This commit is contained in:
parent
df81098dff
commit
0f36a964ac
5
tox.ini
5
tox.ini
|
@ -20,6 +20,7 @@ setenv =
|
|||
authentic: DJANGO_SETTINGS_MODULE=authentic2.settings
|
||||
rbac: DJANGO_SETTINGS_MODULE=django_rbac.test_settings
|
||||
fast: FAST=--nomigrations
|
||||
reusedb: REUSEDB=--reuse-db
|
||||
usedevelop =
|
||||
coverage: True
|
||||
nocoverage: False
|
||||
|
@ -44,8 +45,8 @@ deps =
|
|||
pytz
|
||||
commands =
|
||||
./getlasso.sh
|
||||
authentic: py.test {env:FAST:} {env:COVERAGE:} {posargs:tests/ --random}
|
||||
rbac: py.test {env:FAST:} {env:COVERAGE:} {posargs:tests_rbac/}
|
||||
authentic: py.test {env:FAST:} {env:REUSEDB:} {env:COVERAGE:} {posargs:tests/ --random}
|
||||
rbac: py.test {env:FAST:} {env:REUSEDB:} {env:COVERAGE:} {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