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 a3375fb commit e2ccde7Copy full SHA for e2ccde7
test/asynchronous/test_transactions.py
@@ -599,7 +599,7 @@ async def test_case_1(self):
599
await s.commit_transaction()
600
# End the session.
601
# Ensure the document was inserted and no error was thrown from the transaction.
602
- assert coll.count_documents() == 1
+ assert coll.count_documents({}) == 1
603
604
605
if __name__ == "__main__":
test/test_transactions.py
@@ -587,7 +587,7 @@ def test_case_1(self):
587
s.commit_transaction()
588
589
590
591
592
593
0 commit comments