more fixes

This commit is contained in:
Kenneth Kehl
2024-05-17 10:25:09 -07:00
parent 7302e4c811
commit 1b172553f5
28 changed files with 127 additions and 107 deletions

View File

@@ -5,7 +5,7 @@ from notifications_utils.request_helper import NotifyRequest, _check_proxy_heade
@pytest.mark.parametrize(
"header,secrets,expected",
("header", "secrets", "expected"),
[
(
{"X-Custom-Forwarder": "right_key"},
@@ -48,7 +48,7 @@ def test_request_header_authorization(header, secrets, expected):
@pytest.mark.parametrize(
"secrets,expected",
("secrets", "expected"),
[
(["old_key", "right_key"], (False, "Header missing")),
],