-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
Description
Hi,
I'm working on getting pyhamtools into Debian because I'm using it for my logbook [1]. I have the packaging ready [2], but the testsuite is failing because I'm running without QRZ/clublog API keys (and I don't want to give these to the Debian buildd network). Also, we have the requirements that builds shouldn't be accessing the internet. Could we maybe have
- a switch to disable all the networking tests at build time, including redis?
- for a separate test stage, a switch to disable all tests that require a personalized API key, so we could still test the networking bits outside the buildds? I can probably get the redis tests working at this stage
Thanks,
Christoph DF7CB
[1] https://github.com/df7cb/df7cb-log
[2] https://salsa.debian.org/debian-hamradio-team/pyhamtools
I: pybuild base:217: cd /srv/projects/afu/pyhamtools/pyhamtools.git/.pybuild/cpython3_3.8/build; python3.8 -m pytest test
===================================== test session starts ======================================
platform linux -- Python 3.8.1rc1, pytest-4.6.7, py-1.8.0, pluggy-0.13.0
rootdir: /srv/projects/afu/pyhamtools/pyhamtools.git
collecting ... ^Mcollecting 46 items ^Mcollecting 249 items ^Mcollected 275 items
test/test_callinfo.py EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [ 11%]
test/test_clublog.py EF. [ 12%]
test/test_dxcluster.py ... [ 13%]
test/test_eqsl.py EF. [ 14%]
test/test_locator_distances.py ......... [ 18%]
test/test_locator_latlong_to_locator.py .... [ 19%]
test/test_locator_locator_to_latlong.py ...... [ 21%]
test/test_locator_sunrise_sunset.py ... [ 22%]
test/test_lookuplib.py ............... [ 28%]
test/test_lookuplib_clublogapi.py FF... [ 30%]
test/test_lookuplib_clublogxml.py FF.EEEEEEEEEE [ 34%]
test/test_lookuplib_countryfile.py ..EEEE [ 37%]
test/test_lookuplib_gettersetter_api.py .........FFFF................................... [ 54%]
.EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [ 86%]
EEEEEEEEEEE [ 90%]
test/test_lookuplib_qrz.py ssssssssssssss [ 95%]
test/test_lookuplib_redis.py EEE [ 96%]
test/test_lotw.py EF.E [ 98%]
test/test_utils_freq_to_band.py ..... [100%]