Skip to content

Commit a26f053

Browse files
committed
Fix test dummy credentials to avoid ADO secret scanner false positive
1 parent 9bc78ae commit a26f053

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_020_bulkcopy_auth_cleanup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def test_no_auth_type_leaves_fields_intact(self, mock_logger):
8080
mock_logger.is_debug_enabled = False
8181

8282
cursor = _make_cursor(
83-
"Server=tcp:test.database.windows.net;Database=testdb;" "UID=sa;PWD=password123",
83+
"Server=localhost;Database=testdb;" "UID=sa;PWD=mypwd",
8484
None, # no AD auth
8585
)
8686

@@ -107,4 +107,4 @@ def capture_context(ctx, **kwargs):
107107

108108
assert "access_token" not in captured_context
109109
assert captured_context.get("user_name") == "sa"
110-
assert captured_context.get("password") == "password123"
110+
assert captured_context.get("password") == "mypwd"

0 commit comments

Comments
 (0)