Skip to content

Commit b8161a3

Browse files
Updated the unused local variable
1 parent bab02b3 commit b8161a3

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/backend/common/storage/blob_azure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async def upload_file(
5252
raise
5353
try:
5454
# Upload the file
55-
upload_results = blob_client.upload_blob( # noqa: F841
55+
blob_client.upload_blob(
5656
file_content,
5757
content_type=content_type,
5858
metadata=metadata,

src/tests/backend/common/storage/blob_azure_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ def mock_blob_service():
2828
@pytest.fixture
2929
def blob_storage(mock_blob_service):
3030
"""Fixture to initialize AzureBlobStorage with mocked dependencies"""
31-
service_client, container_client, blob_client = mock_blob_service
3231
return AzureBlobStorage(account_name="test_account", container_name="test_container")
3332

3433

0 commit comments

Comments
 (0)