PYTHON-3724 Remove null values from command_started_event in fle2v2-CreateCollection.yml (#1223)

This commit is contained in:
Shane Harvey 2023-06-06 12:06:08 -07:00 committed by GitHub
parent c7e06e6fc1
commit 1ad0df0858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 24 deletions

View File

@ -158,9 +158,6 @@
"command": {
"create": "encryptedCollection",
"encryptedFields": {
"escCollection": null,
"ecocCollection": null,
"eccCollection": null,
"fields": [
{
"path": "firstName",
@ -343,9 +340,6 @@
"command": {
"create": "encryptedCollection",
"encryptedFields": {
"escCollection": null,
"ecocCollection": null,
"eccCollection": null,
"fields": [
{
"path": "firstName",
@ -851,9 +845,6 @@
"command": {
"create": "encryptedCollection",
"encryptedFields": {
"escCollection": null,
"ecocCollection": null,
"eccCollection": null,
"fields": [
{
"path": "firstName",
@ -1048,9 +1039,6 @@
"command": {
"create": "encryptedCollection",
"encryptedFields": {
"escCollection": null,
"ecocCollection": null,
"eccCollection": null,
"fields": [
{
"path": "firstName",
@ -1367,9 +1355,6 @@
"command": {
"create": "encryptedCollection",
"encryptedFields": {
"escCollection": null,
"ecocCollection": null,
"eccCollection": null,
"fields": [
{
"path": "firstName",
@ -1635,9 +1620,6 @@
"command": {
"create": "encryptedCollection",
"encryptedFields": {
"escCollection": null,
"ecocCollection": null,
"eccCollection": null,
"fields": [
{
"path": "firstName",

View File

@ -430,12 +430,6 @@ class SpecRunner(IntegrationTest):
elif key not in actual:
self.fail(f"Expected key [{key}] in {actual!r}")
else:
# Workaround an incorrect command started event in fle2v2-CreateCollection.yml
# added in DRIVERS-2524.
if key == "encryptedFields":
for n in ("eccCollection", "ecocCollection", "escCollection"):
if val.get(n) is None:
val.pop(n, None)
self.assertEqual(
val, decode_raw(actual[key]), f"Key [{key}] in {actual}"
)