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 fb24bf3 commit 57dfcff
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/unit/test_connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,11 @@ def test_open_pyexasol_connection_ssl(mock_connect, conf):
conf.save("PRIVATE_KEY", tmp_files[2].name)

open_pyexasol_connection(conf)
dsn = f"{conf.EXTERNAL_HOST_NAME}:{conf.DB_PORT}"
mock_connect.assert_called_once_with(
dsn="24.134.96.2:8888",
user="me",
password="let_me_in",
dsn=dsn,
user=conf.USER,
password=conf.PASSWORD,
encryption=True,
websocket_sslopt={
"cert_reqs": ssl.CERT_REQUIRED,
Expand Down

0 comments on commit 57dfcff

Please sign in to comment.