From a26f0534aaa711b52d41d70f1747415c61a78772 Mon Sep 17 00:00:00 2001 From: Gaurav Sharma Date: Wed, 8 Apr 2026 23:50:32 +0530 Subject: [PATCH] Fix test dummy credentials to avoid ADO secret scanner false positive --- tests/test_020_bulkcopy_auth_cleanup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_020_bulkcopy_auth_cleanup.py b/tests/test_020_bulkcopy_auth_cleanup.py index 9eb86d69..16443834 100644 --- a/tests/test_020_bulkcopy_auth_cleanup.py +++ b/tests/test_020_bulkcopy_auth_cleanup.py @@ -80,7 +80,7 @@ def test_no_auth_type_leaves_fields_intact(self, mock_logger): mock_logger.is_debug_enabled = False cursor = _make_cursor( - "Server=tcp:test.database.windows.net;Database=testdb;" "UID=sa;PWD=password123", + "Server=localhost;Database=testdb;" "UID=sa;PWD=mypwd", None, # no AD auth ) @@ -107,4 +107,4 @@ def capture_context(ctx, **kwargs): assert "access_token" not in captured_context assert captured_context.get("user_name") == "sa" - assert captured_context.get("password") == "password123" + assert captured_context.get("password") == "mypwd"