mirror of
https://github.com/meshtastic/python.git
synced 2026-05-19 14:01:09 -04:00
add detection of duplicate ports to findPorts; fix smoke1 test
This commit is contained in:
@@ -160,7 +160,7 @@ def test_smoke1_send_hello():
|
||||
def test_smoke1_port():
|
||||
"""Test --port"""
|
||||
# first, get the ports
|
||||
ports = findPorts()
|
||||
ports = findPorts(True)
|
||||
# hopefully there is just one
|
||||
assert len(ports) == 1
|
||||
port = ports[0]
|
||||
|
||||
Reference in New Issue
Block a user