owon_spe_ctrl/tests/test_find_devices.py
2024-08-11 21:17:46 +02:00

14 lines
No EOL
319 B
Python

import logging
log = logging.getLogger(__name__)
def test_find_devices():
from owon_spe_ctrl import find_devices
devs = find_devices()
log.info(f'found {len(devs)} devices:')
for name,ident in devs.items():
log.info(f'{name}: {ident if ident else "<unknown>"}')
assert len(devs) > 0