Skip to content

Commit

Permalink
Do not use create-s3 in test_init_no_writes
Browse files Browse the repository at this point in the history
  • Loading branch information
Koncopd committed Jan 11, 2025
1 parent 06f4993 commit 54e9531
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/hub-cloud/scripts/script-init-pass-user-no-writes.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import os

import lamindb_setup as ln_setup
from lamindb_setup.core._settings_load import load_instance_settings, load_user_settings
from lamindb_setup.core._settings_store import (
Expand All @@ -14,9 +16,10 @@
testuser1 = load_user_settings(user_settings_file_handle("testuser1"))
assert testuser1.handle == "testuser1"

storage = f"s3://lamindb-ci/{os.environ['LAMIN_ENV']}_test/test-init-no-writes"

ln_setup.init(
storage="create-s3",
name="test-init-no-writes",
storage=storage,
_user=testuser1,
_write_settings=False,
)
Expand Down

0 comments on commit 54e9531

Please sign in to comment.