Skip to content

Commit 055cdf2

Browse files
committed
Externals VII.
1 parent f77f895 commit 055cdf2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/sub_transport/test_basic.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,11 +280,10 @@ async def test_abstract_methods(self):
280280

281281
async def test_external_methods(self):
282282
"""Test external methods."""
283-
comm = SerialTransport(asyncio.get_running_loop(), mock.Mock(), "dummy")
283+
comm = SerialTransport(mock.MagicMock(), mock.Mock(), "dummy")
284284
comm.sync_serial.read = mock.MagicMock(return_value="abcd")
285285
comm.sync_serial.write = mock.MagicMock(return_value=4)
286286
comm.sync_serial.fileno = mock.MagicMock(return_value=2)
287-
comm.sync_serial.async_loop = mock.MagicMock()
288287
comm.sync_serial.async_loop.add_writer = mock.MagicMock()
289288
comm.sync_serial.async_loop.add_reader = mock.MagicMock()
290289
comm.sync_serial.async_loop.remove_writer = mock.MagicMock()

0 commit comments

Comments
 (0)