Skip to content

Commit d1af691

Browse files
committed
Readd test to get 100% coverage.
1 parent fb80c15 commit d1af691

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/sub_transport/test_basic.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ async def test_eof_received(self, client):
111111
"""Test eof_received."""
112112
client.eof_received()
113113

114+
async def test_error_received(self, client):
115+
"""Test error_received."""
116+
client.error_received(Exception("test call"))
117+
114118
async def test_callbacks(self, use_clc):
115119
"""Test callbacks."""
116120
client = ModbusProtocol(use_clc, False)

0 commit comments

Comments
 (0)