Fix cleartext logging test

This commit is contained in:
Owen Mansel-Chan
2026-06-30 23:54:49 +01:00
parent c84c6f33a9
commit c31c5cacde
2 changed files with 2 additions and 5 deletions

View File

@@ -98,6 +98,3 @@ nodes
| test.py:103:21:103:37 | ControlFlowNode for Attribute | semmle.label | ControlFlowNode for Attribute |
| test.py:105:11:105:31 | ControlFlowNode for Subscript | semmle.label | ControlFlowNode for Subscript |
subpaths
testFailures
| test.py:103:21:103:37 | ControlFlowNode for Attribute | Unexpected result: Source |
| test.py:105:11:105:31 | ControlFlowNode for Subscript | Unexpected result: Alert |

View File

@@ -100,9 +100,9 @@ def FPs(account, account_id):
import settings
config = {
"sleep_timer": 5,
"password": settings.password
"password": settings.password # $ SPURIOUS: Source
}
print(config["sleep_timer"]) # OK
print(config["sleep_timer"]) # $ SPURIOUS: Alert # OK
if __name__ == "__main__":