Skip to content

Commit 5a28d97

Browse files
committed
PYTHON-2506 Fix versioned API test for db.aggregate
(cherry picked from commit da620c7)
1 parent ed54b72 commit 5a28d97

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/versioned-api/crud-api-version-1-strict.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@
141141
},
142142
{
143143
"description": "aggregate on database appends declared API version",
144-
"skipReason": "DRIVERS-1505 $listLocalSessions is not supported in API version 1",
145144
"operations": [
146145
{
147146
"name": "aggregate",
@@ -155,6 +154,9 @@
155154
"$limit": 1
156155
}
157156
]
157+
},
158+
"expectError": {
159+
"errorCodeName": "APIStrictError"
158160
}
159161
}
160162
],

0 commit comments

Comments
 (0)