mirror of
https://github.com/kk7ds/chirp.git
synced 2024-09-21 10:37:15 +00:00
115703a852
This is sort of a decoder ring for the massive number of straight rebrands that exist out there. We can use this to generate the SupportedRadios list on the web site and potentially add something to chirp itself to help users find the right model. Some of the aliases from the web site also pointed at non-existent models. Those lines are in the data file, but commented out until we know what to do with them. Note that the test added here uncovered a number of situations where we have subclassed radios with aliases, making the subclasses inherit the aliases, unintentionally. This also fixes those, and will prevent that from happening in the future.
36 lines
568 B
INI
36 lines
568 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
|
|
pyyaml
|
|
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
|
|
|
|
[testenv:makesupported]
|
|
commands =
|
|
python share/make_supported.py model_support.html
|