Skip to content

Commit

Permalink
add test-case for camel-cased header names
Browse files Browse the repository at this point in the history
  • Loading branch information
ewdurbin committed Dec 12, 2024
1 parent e6bdf57 commit cf4c4c3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/unit/integration/secrets/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ class TestDiscloseToken:
"https://api.github.com/meta/public_keys/token_scanning",
"token",
),
(
config._github_origin,
{
"GitHub-Public-Key-Identifier": "foo",
"GitHub-Public-Key-Signature": "bar",
},
{
"github.token": "token",
},
"https://api.github.com/meta/public_keys/token_scanning",
"token",
),
(
config._depsdev_origin,
{
Expand Down

0 comments on commit cf4c4c3

Please sign in to comment.