fix(tox): add {posargs} in tox command
This PS can help the developer run just one unittest. like below. tox -e py35 armada/tests/unit/api/test_api.py::TestAPI::test_armada_apply Change-Id: I846c52bb4f3b133942f7c201f750dc15607f93ea
This commit is contained in:
parent
7221977c79
commit
92d7a3a563
2
tox.ini
2
tox.ini
|
@ -14,7 +14,7 @@ install_command = pip install {opts} {packages}
|
||||||
commands =
|
commands =
|
||||||
find . -type f -name "*.pyc" -delete
|
find . -type f -name "*.pyc" -delete
|
||||||
python -V
|
python -V
|
||||||
py.test -vvv -s --ignore=hapi
|
py.test -vvv -s --ignore=hapi {posargs}
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
commands =
|
commands =
|
||||||
|
|
Loading…
Reference in New Issue