mirror of
https://github.com/meshtastic/python.git
synced 2026-05-19 14:01:09 -04:00
add unit test for catchAndIgnore()
This commit is contained in:
@@ -8,7 +8,7 @@ from ..stream_interface import StreamInterface
|
||||
|
||||
@pytest.mark.unit
|
||||
def test_StreamInterface():
|
||||
"""Test that we can instantiate a StreamInterface"""
|
||||
"""Test that we cannot 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