Skip to content

Commit

Permalink
#54 Fixed the test
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsimb committed Sep 6, 2024
1 parent 888ab88 commit 83cca33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytest-extension/test/integration/pytest_extension_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_bucketfs_connection_factory(bucketfs_connection_factory,
backend_aware_bucketfs_params):
conn_name = 'test_connection'
path_in_bucket = 'test_path'
udf_name = 'extract_connection_object'
udf_name = 'EXTRACT_CONNECTION_OBJECT'
# Write something to the bucket
file_content = b'Gravity Sucks'
Expand All @@ -51,7 +51,7 @@ def test_bucketfs_connection_factory(bucketfs_connection_factory,
'\;'
)
pyexasol_connection.execute(sql)
sql = f'SELECT "{udf_name}"();'
sql = f'SELECT {udf_name}();'
bfs_params_str = pyexasol_connection.execute(sql).fetchval()
# Read from the bucket using this connection object
Expand Down

0 comments on commit 83cca33

Please sign in to comment.