Skip to content

Commit

Permalink
fixed fixture 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Sep 24, 2024
1 parent fd42667 commit 2790467
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ def _bucket_address(
bucketfs_params: dict[str, Any],
path_in_bucket: str = "my-folder",
) -> str:
# pytest-plugins/pytest-slc/exasol/pytest_slc/__init__.py defines
# BFS_CONTAINER_DIRECTORY = 'container'
url = bucketfs_params["url"]
bucket_name = bucketfs_params["bucket_name"]
# path_in_bucket = BFS_CONTAINER_DIRECTORY
Expand All @@ -50,7 +48,6 @@ def _create_bucketfs_connection(
name: str = BUCKETFS_CONNECTION_NAME,
path_in_bucket: str = "my-folder",
) -> str:
name = name
if use_onprem:
uri = _bucket_address(bucketfs_params, path_in_bucket)
user = bucketfs_params["username"]
Expand All @@ -62,7 +59,7 @@ def _create_bucketfs_connection(
return name


@pytest.fixture
@pytest.fixture(scope='session')
def my_bucketfs_connection_factory(
use_onprem,
pyexasol_connection,
Expand All @@ -83,7 +80,7 @@ def create(name, path_in_bucket):
def database_with_slc(
use_onprem,
pyexasol_connection,
backend_aware_bucketfs_params,
# backend_aware_bucketfs_params,
bucketfs_connection_factory,
my_bucketfs_connection_factory,
upload_slc,
Expand Down

0 comments on commit 2790467

Please sign in to comment.