chirp/tox.ini
Dan Smith fffaa7e765 Make test adapter granular
This makes the unit test adapter granular so you can run individual
tests and drivers for quicker automated testing.
2021-12-06 09:31:15 -08:00

31 lines
467 B
INI

[tox]
envlist = unit,driver,style
[testenv]
basepython = python2.7
sitepackages = True
passenv = HOME CHIRP_TESTS CHIRP_TESTIMG
whitelist_externals = bash
deps = future
[testenv:unit]
deps =
nose
mox
mock
future
commands =
nosetests -v tests/unit
python ./share/make_supported.py /dev/null
[testenv:driver]
commands =
python -munittest -vb tests
[testenv:style]
deps =
pep8==1.6.2
future
commands =
python ./tools/cpep8.py