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