mirror of
https://github.com/apache/superset.git
synced 2026-04-14 05:34:38 +00:00
fix: change sslmode to require for Postgres (#15642)
* change sslmode to require * fix test
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user