Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/test_020_bulkcopy_auth_cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
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",

Check notice

Code scanning / devskim

Accessing localhost could indicate debug code, or could hinder scaling. Note test

Do not leave debug code in production
Comment thread
bewithgaurav marked this conversation as resolved.
Dismissed
None, # no AD auth
Comment thread
bewithgaurav marked this conversation as resolved.
)

Expand All @@ -107,4 +107,4 @@

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"
Loading