Projet

Général

Profil

0002-tox.ini-hide-modifier-to-disable-sw.patch

Benjamin Dauvergne, 18 mai 2020 16:11

Télécharger (1,05 ko)

Voir les différences:

Subject: [PATCH 2/2] tox.ini: hide modifier to disable --sw

 tox.ini | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tox.ini
43 43
  COVERAGE={tty::--cov=src --cov-branch --cov-append --cov-report xml --cov-report html}
44 44
  fast: FAST=--nomigrations
45 45
  reusedb: REUSEDB=--reuse-db
46

  
46
  !nosw: SW={tty:--sw:}
47 47
passenv=
48 48
  BRANCH_NAME
49 49
  # support for pg_virtualenv
......
84 84
  py2: ./getlasso.sh
85 85
  py3: ./getlasso3.sh
86 86
  authentic: ./check-migrations.sh
87
  rbac,authentic: py.test {env:FAST:} {env:REUSEDB:} {env:COVERAGE:} {env:JUNIT:} {tty:--sw:} {posargs:{env:TESTS} --random-group}
87
  rbac,authentic: py.test {env:FAST:} {env:REUSEDB:} {env:COVERAGE:} {env:JUNIT:} {env:SW:} {posargs:{env:TESTS} --random-group}
88 88

  
89 89
[testenv:pylint]
90 90
basepython = python2.7
91
-