From 54e95316c4389c12d03df2754ddcb734a48e1540 Mon Sep 17 00:00:00 2001 From: Koncopd Date: Sat, 11 Jan 2025 10:50:21 +0100 Subject: [PATCH] Do not use create-s3 in test_init_no_writes --- tests/hub-cloud/scripts/script-init-pass-user-no-writes.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/hub-cloud/scripts/script-init-pass-user-no-writes.py b/tests/hub-cloud/scripts/script-init-pass-user-no-writes.py index 5ac7db7a..e2935eaf 100644 --- a/tests/hub-cloud/scripts/script-init-pass-user-no-writes.py +++ b/tests/hub-cloud/scripts/script-init-pass-user-no-writes.py @@ -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 ( @@ -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, )