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):
189189 ]:
190190 with self .assertRaisesRegex (ConfigurationError , "Insecure TLS options prohibited" ):
191191 opts = AutoEncryptionOpts ({}, "k.d" , kms_tls_options = tls_opts )
192+ opts ._parse_kms_tls_options (_IS_SYNC )
192193 with self .assertRaises (FileNotFoundError ):
193- AutoEncryptionOpts (
194+ opts = AutoEncryptionOpts (
194195 {},
195196 "k.d" ,
196197 kms_tls_options = {"kmip" : {"tlsCAFile" : "does-not-exist" }},
197198 )
199+ opts ._parse_kms_tls_options (_IS_SYNC )
198200 # Success cases:
199201 tls_opts : Any
200202 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):
189189 ]:
190190 with self .assertRaisesRegex (ConfigurationError , "Insecure TLS options prohibited" ):
191191 opts = AutoEncryptionOpts ({}, "k.d" , kms_tls_options = tls_opts )
192+ opts ._parse_kms_tls_options (_IS_SYNC )
192193 with self .assertRaises (FileNotFoundError ):
193- AutoEncryptionOpts (
194+ opts = AutoEncryptionOpts (
194195 {},
195196 "k.d" ,
196197 kms_tls_options = {"kmip" : {"tlsCAFile" : "does-not-exist" }},
197198 )
199+ opts ._parse_kms_tls_options (_IS_SYNC )
198200 # Success cases:
199201 tls_opts : Any
200202 for tls_opts in [None , {}]:
You can’t perform that action at this time.
0 commit comments