Skip to content

Commit

Permalink
Update test/unit/test_connections.py
Browse files Browse the repository at this point in the history
Co-authored-by: Christoph Kuhnke <[email protected]>
  • Loading branch information
ahsimb and ckunki authored Nov 14, 2023
1 parent 3afeed1 commit e3f8f84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/unit/test_connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,9 @@ def test_open_sqlalchemy_connection_ssl(mock_create_engine, conf):
conf.save("CERTIFICATE_VALIDATION", "False")

open_sqlalchemy_connection(conf)
dsn = f"{conf.EXTERNAL_HOST_NAME}:{conf.DB_PORT}"
mock_create_engine.assert_called_once_with(
"exa+websocket://me:[email protected]:8888"
f"exa+websocket://{conf.USER}:{conf.PASSWORD}@{dsn}/IDA"
"?ENCRYPTION=Yes&SSLCertificate=SSL_VERIFY_NONE"
)

Expand Down

0 comments on commit e3f8f84

Please sign in to comment.