mirror of
https://github.com/meshtastic/python.git
synced 2026-09-14 22:39:18 -04:00
add int test for --support
This commit is contained in:
1 parent
237b750497
commit
65826d5cc2
1 file changed
+9
@@ -27,3 +27,12 @@ def test_int_help():
|
||||
return_value, out = subprocess.getstatusoutput('meshtastic --help')
|
||||
assert re.match(r'usage: meshtastic ', out)
|
||||
assert return_value == 0
|
||||
|
||||
|
||||
@pytest.mark.int
|
||||
def test_int_support():
|
||||
"""Test '--support'."""
|
||||
return_value, out = subprocess.getstatusoutput('meshtastic --support')
|
||||
assert re.search(r'System', out)
|
||||
assert re.search(r'Python', out)
|
||||
assert return_value == 0
|
||||
Reference in new issue
Block a user