Skip to content

Commit 3803ae2

Browse files
committed
Suppress a false positive CodeQL alarm
1 parent 37badb8 commit 3803ae2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_e2e.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,6 +1333,9 @@ def test_at_pop_calling_pattern(self):
13331333
nonce=self._extract_pop_nonce(resp.headers.get("WWW-Authenticate")),
13341334
),
13351335
))
1336+
# The api_endpoint is for test only and has no proper SSL certificate,
1337+
# so we suppress the CodeQL warning for disabling SSL certificate checks
1338+
# @suppress py/bandit/requests-ssl-verify-disabled
13361339
resp = requests.get(api_endpoint, verify=False, headers={
13371340
"Authorization": "pop {}".format(result["access_token"]),
13381341
})

0 commit comments

Comments
 (0)