File tree Expand file tree Collapse file tree 4 files changed +15
-13
lines changed
client-side-encryption/spec Expand file tree Collapse file tree 4 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 81
81
change* streams)
82
82
cpjson change-streams/tests/ change_streams/
83
83
;;
84
+ client-side-encryption|csfle|fle)
85
+ cpjson client-side-encryption/tests/ client-side-encryption/spec
86
+ cpjson client-side-encryption/corpus/ client-side-encryption/corpus
87
+ cpjson client-side-encryption/external/ client-side-encryption/external
88
+ cpjson client-side-encryption/limits/ client-side-encryption/limits
89
+ ;;
84
90
cmap|CMAP)
85
91
cpjson connection-monitoring-and-pooling/tests cmap
86
92
rm $PYMONGO /test/cmap/wait-queue-fairness.json # PYTHON-1873
Original file line number Diff line number Diff line change 1318
1318
}
1319
1319
},
1320
1320
"result" : {
1321
- "errorContains" : " Cannot encrypt element of type array "
1321
+ "errorContains" : " Cannot encrypt element of type"
1322
1322
}
1323
1323
}
1324
1324
]
1387
1387
}
1388
1388
},
1389
1389
"result" : {
1390
- "errorContains" : " Cannot encrypt element of type array "
1390
+ "errorContains" : " Cannot encrypt element of type"
1391
1391
}
1392
1392
}
1393
1393
]
Original file line number Diff line number Diff line change 504
504
}
505
505
},
506
506
"result" : {
507
- "errorContains" : " Cannot use deterministic encryption for element of type: double"
507
+ "errorContains" : " element of type: double"
508
508
}
509
509
}
510
510
]
551
551
}
552
552
},
553
553
"result" : {
554
- "errorContains" : " Cannot use deterministic encryption for element of type: decimal"
554
+ "errorContains" : " element of type: decimal"
555
555
}
556
556
}
557
557
]
883
883
}
884
884
},
885
885
"result" : {
886
- "errorContains" : " Cannot use deterministic encryption for element of type: javascriptWithScope"
886
+ "errorContains" : " element of type: javascriptWithScope"
887
887
}
888
888
}
889
889
]
928
928
}
929
929
},
930
930
"result" : {
931
- "errorContains" : " Cannot use deterministic encryption for element of type: object"
931
+ "errorContains" : " element of type: object"
932
932
}
933
933
}
934
934
]
1547
1547
}
1548
1548
},
1549
1549
"result" : {
1550
- "errorContains" : " Cannot use deterministic encryption for element of type: array"
1550
+ "errorContains" : " element of type: array"
1551
1551
}
1552
1552
}
1553
1553
]
1592
1592
}
1593
1593
},
1594
1594
"result" : {
1595
- "errorContains" : " Cannot use deterministic encryption for element of type: bool"
1595
+ "errorContains" : " element of type: bool"
1596
1596
}
1597
1597
}
1598
1598
]
Original file line number Diff line number Diff line change @@ -815,11 +815,7 @@ def run_test(self, provider_name):
815
815
self .assertEqual (encrypted_altname , encrypted )
816
816
817
817
# Explicitly encrypting an auto encrypted field.
818
- msg = (
819
- r"Cannot encrypt element of type binData because schema "
820
- r"requires that type is one of: \[ string \]"
821
- )
822
- with self .assertRaisesRegex (EncryptionError , msg ):
818
+ with self .assertRaisesRegex (EncryptionError , r"encrypt element of type" ):
823
819
self .client_encrypted .db .coll .insert_one ({"encrypted_placeholder" : encrypted })
824
820
825
821
def test_data_key_local (self ):
You can’t perform that action at this time.
0 commit comments