tox.ini: add modifier to disable --sw

This commit is contained in:
Benjamin Dauvergne 2020-05-17 11:04:51 +02:00
parent 6c8091dbc1
commit af57083fc8
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ setenv =
COVERAGE={tty::--cov=src --cov-branch --cov-append --cov-report xml --cov-report html}
fast: FAST=--nomigrations
reusedb: REUSEDB=--reuse-db
!nosw: SW={tty:--sw:}
passenv=
BRANCH_NAME
# support for pg_virtualenv
@ -84,7 +84,7 @@ commands =
py2: ./getlasso.sh
py3: ./getlasso3.sh
authentic: ./check-migrations.sh
rbac,authentic: py.test {env:FAST:} {env:REUSEDB:} {env:COVERAGE:} {env:JUNIT:} {tty:--sw:} {posargs:{env:TESTS} --random-group}
rbac,authentic: py.test {env:FAST:} {env:REUSEDB:} {env:COVERAGE:} {env:JUNIT:} {env:SW:} {posargs:{env:TESTS} --random-group}
[testenv:pylint]
basepython = python2.7