Skip to content

Commit 7a90083

Browse files
committed
test1.
1 parent dc3564b commit 7a90083

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

test/test_examples.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env python3
22
"""Test client async."""
3-
# pylint: disable=unused-argument
43
import asyncio
54
from dataclasses import dataclass
65
from 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

0 commit comments

Comments
 (0)