mirror of
https://github.com/meshtastic/python.git
synced 2026-09-14 22:39:18 -04:00
try yet another way
This commit is contained in:
1 parent
e79faf93d0
commit
9879e9f2df
1 file changed
+2
-3
@@ -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