[DRIVERS-2538] Add additional prose tests for automatically creating Queryable Encryption keys Created: 31/Jan/23  Updated: 21/Mar/23

Status: Backlog
Project: Drivers
Component/s: Client Side Encryption
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Julius Park (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Driver Changes: Needed

 Description   

There are a few additional tests that are being implemented in Python here.

They include:

  1. Test that collection options are forwarded correctly.
  2. Test that the returned encryptedFields is in fact a copy of the values in AutoEncryptionOpts.encryptedFieldsMap, and not a reference to the same value (in languages that allow this). 
  3. Test encryptedFields that have mixed Null and normal keys.
  4. Test that the exception raised when creating a data key fails contains the partial encryptedFields.

Generated at Thu Feb 08 08:25:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.