mirror of
https://github.com/meshtastic/python.git
synced 2025-12-25 17:07:53 -05:00
yet another attempt
This commit is contained in:
@@ -140,8 +140,8 @@ def test_smoke1_nodes():
|
||||
"""Test --nodes"""
|
||||
return_value, out = subprocess.getstatusoutput('meshtastic --nodes')
|
||||
assert re.match(r'Connected to radio', out)
|
||||
assert re.search(r'^│ N │ User', str(out), re.MULTILINE)
|
||||
assert re.search(r'^│ 1 │', str(out), re.MULTILINE)
|
||||
assert re.search(r' User ', out, re.MULTILINE)
|
||||
assert re.search(r' 1 ', out, re.MULTILINE)
|
||||
assert return_value == 0
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user