Skip to content

Commit ea97579

Browse files
test: Correct account URL assertion in TestCreateQueueClient - fix CodeQL (#2039)
1 parent 4f51293 commit ea97579

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code/tests/utilities/helpers/test_azure_blob_storage_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def test_create_queue_client_with_rbac(self, mock_queue_client_class, mock_get_c
8989
call_kwargs = mock_queue_client_class.call_args[1]
9090
assert call_kwargs['queue_name'] == "test-queue"
9191
assert call_kwargs['credential'] == mock_credential
92-
assert "teststorageaccount.queue.core.windows.net" in call_kwargs['account_url']
92+
assert call_kwargs['account_url'] == "https://teststorageaccount.queue.core.windows.net/"
9393

9494

9595
class TestAzureBlobStorageClientInitialization:

0 commit comments

Comments
 (0)