Files
python/meshtastic/test/test_stream_interface.py
2021-12-08 23:20:20 -08:00

15 lines
369 B
Python

"""Meshtastic unit tests for stream_interface.py"""
import pytest
from meshtastic.stream_interface import StreamInterface
@pytest.mark.unit
def test_StreamInterface():
"""Test that we can instantiate a StreamInterface"""
with pytest.raises(Exception) as pytest_wrapped_e:
StreamInterface(noProto=True)
assert pytest_wrapped_e.type == Exception