mirror of
https://github.com/meshtastic/python.git
synced 2026-04-17 21:42:20 -04:00
deal with windows on smoke1 test
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', out, re.MULTILINE)
|
||||
assert re.search(r'^│ 1 │', out, re.MULTILINE)
|
||||
assert re.search(r'^│ N │ User', out.encode('utf-8'), re.MULTILINE)
|
||||
assert re.search(r'^│ 1 │', out.encode('utf-8'), re.MULTILINE)
|
||||
assert return_value == 0
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user