(self)
| 363 | encrypted_coll.insert_one({"unencodeable": object()}) |
| 364 | |
| 365 | def test_auto_encrypt(self): |
| 366 | # Configure the encrypted field via jsonSchema. |
| 367 | json_schema = json_data("custom", "schema.json") |
| 368 | create_with_schema(self.db.test, json_schema) |
| 369 | self.addCleanup(self.db.test.drop) |
| 370 | |
| 371 | opts = AutoEncryptionOpts(KMS_PROVIDERS, "keyvault.datakeys") |
| 372 | self._test_auto_encrypt(opts) |
| 373 | |
| 374 | def test_auto_encrypt_local_schema_map(self): |
| 375 | # Configure the encrypted field via the local schema_map option. |
nothing calls this directly
no test coverage detected