mirror of
https://github.com/meshtastic/python.git
synced 2026-02-01 03:21:16 -05:00
18 lines
353 B
Python
18 lines
353 B
Python
"""Meshtastic unit tests for node.py"""
|
|
import re
|
|
import subprocess
|
|
import platform
|
|
|
|
import pytest
|
|
|
|
from meshtastic.__init__ import MeshInterface
|
|
|
|
|
|
@pytest.mark.unit
|
|
def test_MeshInterface():
|
|
"""Test that we instantiate a MeshInterface"""
|
|
iface = MeshInterface(noProto=True)
|
|
iface.showInfo()
|
|
iface.localNode.showInfo()
|
|
iface.close()
|