Skip to content

Commit efb8958

Browse files
committed
PYTHON-1995 Resync encryption spec tests to 71518175e8bd5ee36fc35a7529b65f9d248b1c83
1 parent 802de40 commit efb8958

File tree

4 files changed

+5
-13
lines changed

4 files changed

+5
-13
lines changed

test/client-side-encryption/spec/bulk.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -148,16 +148,8 @@
148148
"name": "deleteOne",
149149
"arguments": {
150150
"filter": {
151-
"$and": [
152-
{
153-
"encrypted_string": "string1"
154-
},
155-
{
156-
"_id": {
157-
"$eq": 2
158-
}
159-
}
160-
]
151+
"encrypted_string": "string1",
152+
"_id": 2
161153
}
162154
}
163155
}

test/client-side-encryption/spec/getMore.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
"batchSize": 2,
143143
"filter": {}
144144
},
145-
"results": [
145+
"result": [
146146
{
147147
"_id": 1,
148148
"encrypted_string": "string0"

test/client-side-encryption/spec/malformedCiphertext.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@
312312
}
313313
},
314314
"result": {
315-
"errorContains": "did not provide all keys"
315+
"errorContains": "not all keys requested were satisfied"
316316
}
317317
}
318318
]

test/client-side-encryption/spec/missingKey.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
}
120120
},
121121
"result": {
122-
"errorContains": "did not provide all keys"
122+
"errorContains": "not all keys requested were satisfied"
123123
}
124124
}
125125
],

0 commit comments

Comments
 (0)