Skip to content

Commit 4066f76

Browse files
committed
Update trustedCertificates to trusted_certificates
1 parent 20aed2c commit 4066f76

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/tls/test_secure_scheme.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class TestTrustSystemCertsConfig(TestSecureScheme):
121121
schemes = "neo4j", "bolt"
122122
feature_requirement = types.Feature.API_SSL_CONFIG,
123123
extra_driver_configs = (
124-
{"encrypted": True, "trustedCertificates": None},
124+
{"encrypted": True, "trusted_certificates": None},
125125
{"encrypted": True},
126126
)
127127

@@ -143,9 +143,9 @@ def test_unencrypted(self):
143143

144144
class TestTrustCustomCertsConfig(TestTrustSystemCertsConfig):
145145
extra_driver_configs = (
146-
{"encrypted": True, "trustedCertificates": ["customRoot.crt"]},
147-
{"encrypted": True, "trustedCertificates": ["customRoot2.crt",
148-
"customRoot.crt"]},
146+
{"encrypted": True, "trusted_certificates": ["customRoot.crt"]},
147+
{"encrypted": True,
148+
"trusted_certificates": ["customRoot2.crt", "customRoot.crt"]},
149149
)
150150
cert_prefix = "customRoot_"
151151

tests/tls/test_self_signed_scheme.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def test_unencrypted(self):
132132
class TestTrustAllCertsConfig(TestSelfSignedScheme):
133133
schemes = "neo4j", "bolt"
134134
feature_requirement = types.Feature.API_SSL_CONFIG,
135-
extra_driver_configs = {"encrypted": True, "trustedCertificates": []},
135+
extra_driver_configs = {"encrypted": True, "trusted_certificates": []},
136136

137137
def test_trusted_ca_correct_hostname(self):
138138
super().test_trusted_ca_correct_hostname()

0 commit comments

Comments
 (0)