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 8181 change* streams)
8282 cpjson change-streams/tests/ change_streams/
8383 ;;
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+ ;;
8490 cmap|CMAP)
8591 cpjson connection-monitoring-and-pooling/tests cmap
8692 rm $PYMONGO /test/cmap/wait-queue-fairness.json # PYTHON-1873
Original file line number Diff line number Diff line change 13181318 }
13191319 },
13201320 "result" : {
1321- "errorContains" : " Cannot encrypt element of type array "
1321+ "errorContains" : " Cannot encrypt element of type"
13221322 }
13231323 }
13241324 ]
13871387 }
13881388 },
13891389 "result" : {
1390- "errorContains" : " Cannot encrypt element of type array "
1390+ "errorContains" : " Cannot encrypt element of type"
13911391 }
13921392 }
13931393 ]
Original file line number Diff line number Diff line change 504504 }
505505 },
506506 "result" : {
507- "errorContains" : " Cannot use deterministic encryption for element of type: double"
507+ "errorContains" : " element of type: double"
508508 }
509509 }
510510 ]
551551 }
552552 },
553553 "result" : {
554- "errorContains" : " Cannot use deterministic encryption for element of type: decimal"
554+ "errorContains" : " element of type: decimal"
555555 }
556556 }
557557 ]
883883 }
884884 },
885885 "result" : {
886- "errorContains" : " Cannot use deterministic encryption for element of type: javascriptWithScope"
886+ "errorContains" : " element of type: javascriptWithScope"
887887 }
888888 }
889889 ]
928928 }
929929 },
930930 "result" : {
931- "errorContains" : " Cannot use deterministic encryption for element of type: object"
931+ "errorContains" : " element of type: object"
932932 }
933933 }
934934 ]
15471547 }
15481548 },
15491549 "result" : {
1550- "errorContains" : " Cannot use deterministic encryption for element of type: array"
1550+ "errorContains" : " element of type: array"
15511551 }
15521552 }
15531553 ]
15921592 }
15931593 },
15941594 "result" : {
1595- "errorContains" : " Cannot use deterministic encryption for element of type: bool"
1595+ "errorContains" : " element of type: bool"
15961596 }
15971597 }
15981598 ]
Original file line number Diff line number Diff line change @@ -815,11 +815,7 @@ def run_test(self, provider_name):
815815 self .assertEqual (encrypted_altname , encrypted )
816816
817817 # 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" ):
823819 self .client_encrypted .db .coll .insert_one ({"encrypted_placeholder" : encrypted })
824820
825821 def test_data_key_local (self ):
You can’t perform that action at this time.
0 commit comments