fix: change sslmode to require for Postgres (#15642)

* change sslmode to require

* fix test
This commit is contained in:
Hugh A. Miles II
2021-07-12 15:38:07 -07:00
committed by GitHub
parent 2252f3396c
commit f39582c900
2 changed files with 2 additions and 2 deletions

View File

@@ -460,7 +460,7 @@ def test_base_parameters_mixin():
)
assert sqlalchemy_uri == (
"postgresql+psycopg2://username:password@localhost:5432/dbname?"
"foo=bar&sslmode=verify-ca"
"foo=bar&sslmode=require"
)
parameters_from_uri = PostgresEngineSpec.get_parameters_from_uri(sqlalchemy_uri)