14 lines
No EOL
319 B
Python
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 |