We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33ff947 commit 1fdf8c6Copy full SHA for 1fdf8c6
test/asynchronous/test_transactions.py
@@ -586,7 +586,7 @@ async def test_case_1(self):
586
# Create a MongoClient running against a configured sharded/replica set/load balanced cluster.
587
client = async_client_context.client
588
coll = client[self.db.name].test
589
- coll.delete_many({})
+ await coll.delete_many({})
590
# Start a new session on the client.
591
async with client.start_session() as s:
592
# Start a transaction on the session.
0 commit comments