We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a6616d commit 88d5e20Copy full SHA for 88d5e20
tests/test_result_set.py
@@ -68,7 +68,7 @@ def test_fetchone_no_data(self, conn):
68
def test_fetchone_empty_projection(self, conn):
69
"""Test fetchone with empty projection (SELECT *)"""
70
db = conn.database
71
- command_result = db.command({"find": "users", "limit": 1})
+ command_result = db.command({"find": "users", "limit": 1, "sort": {"_id": 1}})
72
73
query_plan = QueryPlan(collection="users", projection_stage=self.PROJECTION_EMPTY)
74
result_set = ResultSet(command_result=command_result, query_plan=query_plan)
0 commit comments