File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -189,12 +189,14 @@ def test_init_kms_tls_options(self):
189
189
]:
190
190
with self .assertRaisesRegex (ConfigurationError , "Insecure TLS options prohibited" ):
191
191
opts = AutoEncryptionOpts ({}, "k.d" , kms_tls_options = tls_opts )
192
+ opts ._parse_kms_tls_options (_IS_SYNC )
192
193
with self .assertRaises (FileNotFoundError ):
193
- AutoEncryptionOpts (
194
+ opts = AutoEncryptionOpts (
194
195
{},
195
196
"k.d" ,
196
197
kms_tls_options = {"kmip" : {"tlsCAFile" : "does-not-exist" }},
197
198
)
199
+ opts ._parse_kms_tls_options (_IS_SYNC )
198
200
# Success cases:
199
201
tls_opts : Any
200
202
for tls_opts in [None , {}]:
Original file line number Diff line number Diff line change @@ -189,12 +189,14 @@ def test_init_kms_tls_options(self):
189
189
]:
190
190
with self .assertRaisesRegex (ConfigurationError , "Insecure TLS options prohibited" ):
191
191
opts = AutoEncryptionOpts ({}, "k.d" , kms_tls_options = tls_opts )
192
+ opts ._parse_kms_tls_options (_IS_SYNC )
192
193
with self .assertRaises (FileNotFoundError ):
193
- AutoEncryptionOpts (
194
+ opts = AutoEncryptionOpts (
194
195
{},
195
196
"k.d" ,
196
197
kms_tls_options = {"kmip" : {"tlsCAFile" : "does-not-exist" }},
197
198
)
199
+ opts ._parse_kms_tls_options (_IS_SYNC )
198
200
# Success cases:
199
201
tls_opts : Any
200
202
for tls_opts in [None , {}]:
You can’t perform that action at this time.
0 commit comments