Prechádzať zdrojové kódy

Pass posargs to pytest in main testenv

Luke Murphy 6 rokov pred
rodič
commit
917a0dd0a0
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      tox.ini

+ 1 - 1
tox.ini

@@ -15,7 +15,7 @@ install_command =
 commands_pre =
     find {toxinidir} -type f -not -path '{toxinidir}/.tox/*' -path '*/__pycache__/*' -name '*.py[c|o]' -delete
 commands =
-    pytest
+    pytest {posargs}
     py36,py37: black --check .
     isort --recursive --check-only --settings-path setup.cfg .
     flake8 .