yet another attempt

This commit is contained in:
Mike Kinney
2021-12-29 21:13:20 -08:00
parent 9879e9f2df
commit ce2d9f5728

View File

@@ -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