From 83cca33f305520f7864461ce1d01d2d2d66cbe04 Mon Sep 17 00:00:00 2001 From: mibe Date: Fri, 6 Sep 2024 14:23:07 +0100 Subject: [PATCH] #54 Fixed the test --- pytest-extension/test/integration/pytest_extension_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytest-extension/test/integration/pytest_extension_test.py b/pytest-extension/test/integration/pytest_extension_test.py index e65de62..25daa55 100644 --- a/pytest-extension/test/integration/pytest_extension_test.py +++ b/pytest-extension/test/integration/pytest_extension_test.py @@ -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' @@ -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