test-fixture-passwords-flagged-by-secret-scanner
Hardcoded test passwords in pytest fixtures are caught by the secret scanner even when they are obviously test values. The workaround is to assign them to a labeled constant (e.g., TEST_PASSWORD = '...') so the scanner recognizes them as intentional test-only fixtures rather than leaked credentials.
Related
- secret-scanner-flags-test-passwords-use-labeled-constants
- integration-test-passwords-flag-secret-scanner
- test-password-strings-trigger-secret-scanner-false-positives
- secret-scanner-flags-test-passwords-without-constant-label
- test-credential-literals-flagged-by-secret-scanner
- pytest-hardcoded-passwords-trigger-secret-scanner
- pytest-test-passwords-trigger-secret-scanner-false-positive