From e68b001e4aaf5375a2c8e8bd081c2e6bb35bd6a5 Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Thu, 24 Nov 2016 09:58:02 +0800 Subject: Allow select test case to run - 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 --- tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index d955416c..f5859b6e 100644 --- a/tox.ini +++ b/tox.ini @@ -10,17 +10,17 @@ skipsdist = True [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. -- cgit 1.2.3-korg