PYTHON-3724 Remove null values from command_started_event in fle2v2-CreateCollection.yml (#1223)
This commit is contained in:
parent
c7e06e6fc1
commit
1ad0df0858
@ -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",
|
||||
|
||||
@ -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}"
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user