- remove hardcoded argument `tests` from tox.ini
- use command like `tox tests/unit/runner` for selective running
- `tox` without argument will run all test in `tests` folder
Change-Id: I3916dc571e85c785f83813aa30c5bb0ef9a65cd6
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
-deps =
+deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands=
py.test \
--basetemp={envtmpdir} \
- {posargs} tests
+ {posargs}
[testenv:pep8]
deps = flake8
-commands = flake8 {toxinidir}
+commands = flake8 {toxinidir}
[flake8]
# H803 skipped on purpose per list discussion.