From 32ab2a3423739b3327a2781782b0134b1c0aaa9f Mon Sep 17 00:00:00 2001 From: Harry Karvonen Date: Mon, 4 Jul 2022 17:23:50 +0300 Subject: [PATCH] DEV: Added {posargs} to tox.ini (#1055) This allows adding options from command line. For example, run only one test in py39 env using an option -k: $ tox -e py39 -- -k test_issue585 For example, run only one test in all envs using an option -k: $ tox -- -k test_issue585 Co-authored-by: Harry Karvonen --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 711582332..44bab4970 100644 --- a/tox.ini +++ b/tox.ini @@ -8,4 +8,4 @@ deps = pytest pytest-cov pycryptodome -commands = pytest tests --cov --cov-report term-missing -vv +commands = pytest tests --cov --cov-report term-missing -vv {posargs}