File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
22"""Test client async."""
3- # pylint: disable=unused-argument
43import asyncio
54from dataclasses import dataclass
65from threading import Thread
@@ -132,14 +131,20 @@ async def run_client( # pylint: disable=unused-argument
132131
133132
134133@pytest .mark .parametrize ("test_comm, test_framer" , TEST_COMMS_FRAMER )
135- async def test_exp_async_simple (test_comm , test_framer ):
134+ async def test_exp_async_simple ( # pylint: disable=unused-argument
135+ test_comm ,
136+ test_framer ,
137+ mock_run_server
138+ ):
136139 """Run async client and server."""
137- _cheat .run_server (test_comm )
138- _cheat .teardown ()
139140
140141
141142@pytest .mark .parametrize ("test_comm, test_framer" , TEST_COMMS_FRAMER )
142- def test_exp_sync_simple (test_comm , test_framer , mock_libs ):
143+ def test_exp_sync_simple ( # pylint: disable=unused-argument
144+ test_comm ,
145+ test_framer ,
146+ mock_libs
147+ ):
143148 """Run sync client and server."""
144149 args = Commandline
145150 args .comm = test_comm
You can’t perform that action at this time.
0 commit comments