From 04ac475805f20cf73d79bb3fd003e412c8526396 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Wed, 28 Aug 2024 21:40:47 +0200 Subject: [PATCH] Fix copy-paste errors in test docstrings. --- tests/asyncio/test_server.py | 2 +- tests/sync/test_server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/asyncio/test_server.py b/tests/asyncio/test_server.py index ceb0417a..bc1d0444 100644 --- a/tests/asyncio/test_server.py +++ b/tests/asyncio/test_server.py @@ -340,7 +340,7 @@ async def test_keepalive_is_enabled(self): self.assertGreater(latency, 0) async def test_disable_keepalive(self): - """Client disables keepalive.""" + """Server disables keepalive.""" async with serve(*args, ping_interval=None) as server: async with connect(get_uri(server)) as client: await asyncio.sleep(2 * MS) diff --git a/tests/sync/test_server.py b/tests/sync/test_server.py index 541a1460..7bcf144a 100644 --- a/tests/sync/test_server.py +++ b/tests/sync/test_server.py @@ -557,7 +557,7 @@ def test_bad_list_of_credentials(self): class BackwardsCompatibilityTests(DeprecationTestCase): def test_ssl_context_argument(self): - """Client supports the deprecated ssl_context argument.""" + """Server supports the deprecated ssl_context argument.""" with self.assertDeprecationWarning("ssl_context was renamed to ssl"): with run_server(ssl_context=SERVER_CONTEXT) as server: with connect(get_uri(server), ssl=CLIENT_CONTEXT):