mirror of
https://github.com/kk7ds/chirp.git
synced 2024-09-21 10:37:15 +00:00
fffaa7e765
This makes the unit test adapter granular so you can run individual tests and drivers for quicker automated testing.
31 lines
467 B
INI
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
|