From 57dfcfff2f201aa17f54cc00e2f886128551e069 Mon Sep 17 00:00:00 2001 From: Mikhail Beck Date: Tue, 14 Nov 2023 07:57:41 +0000 Subject: [PATCH] Update test/unit/test_connections.py Co-authored-by: Christoph Kuhnke --- test/unit/test_connections.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/unit/test_connections.py b/test/unit/test_connections.py index 4fc0eb2..5127a61 100644 --- a/test/unit/test_connections.py +++ b/test/unit/test_connections.py @@ -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,