Skip to content

Commit

Permalink
PYTHON-5073 Convert test.test_connection_monitoring to async (#2087)
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepyStick authored Feb 11, 2025
1 parent 61c3ddd commit 0e6aa6f
Show file tree
Hide file tree
Showing 5 changed files with 493 additions and 13 deletions.
4 changes: 2 additions & 2 deletions test/asynchronous/pymongo_mocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __init__(self, server_description, topology, pool, topology_settings):
def cancel_check(self):
pass

def join(self):
async def join(self):
pass

def open(self):
Expand All @@ -75,7 +75,7 @@ def open(self):
def request_check(self):
pass

def close(self):
async def close(self):
self.opened = False


Expand Down
Loading

0 comments on commit 0e6aa6f

Please sign in to comment.