mirror of
https://github.com/meshtastic/python.git
synced 2026-04-21 15:34:04 -04:00
had to move test dir to tests because of pytest looking for __init__.py
This commit is contained in:
14
meshtastic/tests/test_stream_interface.py
Normal file
14
meshtastic/tests/test_stream_interface.py
Normal file
@@ -0,0 +1,14 @@
|
||||
"""Meshtastic unit tests for stream_interface.py"""
|
||||
|
||||
|
||||
import pytest
|
||||
|
||||
from ..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
|
||||
Reference in New Issue
Block a user