Skip to content

Commit

Permalink
Fix copy-paste errors in test docstrings.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaugustin committed Aug 28, 2024
1 parent 3171231 commit 04ac475
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/asyncio/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion tests/sync/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 04ac475

Please sign in to comment.