mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Python: Add test-cases for py/hardcoded-credentials
This commit is contained in:
@@ -17,3 +17,14 @@ def sell(client, units):
|
||||
conn.cmd("sell", 1000)
|
||||
conn.close()
|
||||
|
||||
|
||||
# Ignored
|
||||
test(password='short')
|
||||
test(password='Capitalized')
|
||||
test(password=' whitespace') # too much whitespace
|
||||
test(password='insecure__') # too many underscores
|
||||
test(password='aaaaaaaaaa') # too repetitive
|
||||
test(password='format_string_{}')
|
||||
|
||||
# TODO: we think this is a format string :\
|
||||
test(password='''U]E8FPETCS_]{,y>bgyzh^$yC5>SP{E*2=`;3]G~k&+;khy3}4]jdpu;D(aP$SCFA{;hh4n46pUJ%+$nEP_gqNq#X!2$%*C-6y6%''')
|
||||
|
||||
Reference in New Issue
Block a user