try yet another way

This commit is contained in:
Mike Kinney committed 2021-12-29 21:00:22 -08:00
1 parent e79faf93d0
commit 9879e9f2df
1 file changed
+2 -3
+2 -3
View File
@@ -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