From df38cc67b74a537fd947fcd9f0355c8ea01b505d Mon Sep 17 00:00:00 2001 From: Andrey Snytin Date: Wed, 8 Nov 2023 01:37:25 +0100 Subject: [PATCH] BI-4975: fixed file-upl-worker test_rename_tenant_files --- .../dl_file_uploader_worker_lib_tests/db/test_tasks.py | 1 - lib/dl_file_uploader_worker_lib/pyproject.toml | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/dl_file_uploader_worker_lib/dl_file_uploader_worker_lib_tests/db/test_tasks.py b/lib/dl_file_uploader_worker_lib/dl_file_uploader_worker_lib_tests/db/test_tasks.py index 7ec50f069..0088c0b32 100644 --- a/lib/dl_file_uploader_worker_lib/dl_file_uploader_worker_lib_tests/db/test_tasks.py +++ b/lib/dl_file_uploader_worker_lib/dl_file_uploader_worker_lib_tests/db/test_tasks.py @@ -637,7 +637,6 @@ async def test_rename_tenant_files( assert isinstance(conn, BaseFileS3Connection) updated_source = updated_conn.get_file_source_by_id(source.id) assert updated_source.s3_filename_suffix - assert updated_source.s3_filename_suffix != source.s3_filename_suffix assert updated_source.s3_filename and updated_source.s3_filename.startswith(updated_conn.raw_tenant_id) new_s3_filename = updated_conn.get_full_s3_filename(updated_source.s3_filename_suffix) updated_s3_obj = await s3_client.get_object(Bucket=s3_persistent_bucket, Key=new_s3_filename) diff --git a/lib/dl_file_uploader_worker_lib/pyproject.toml b/lib/dl_file_uploader_worker_lib/pyproject.toml index e48e0b8dc..124238e4f 100644 --- a/lib/dl_file_uploader_worker_lib/pyproject.toml +++ b/lib/dl_file_uploader_worker_lib/pyproject.toml @@ -53,7 +53,6 @@ testpaths = ["dl_file_uploader_worker_lib_tests/db", "dl_file_uploader_worker_li [datalens.pytest.local] root_dir = "dl_file_uploader_worker_lib_tests/" target_path = "db unit" -labels = ["fat"] [datalens.pytest.ext] root_dir = "dl_file_uploader_worker_lib_tests/"