Updated tests to match the formatting work done in the admin repo

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
Carlo Costino
2024-05-17 17:14:46 -04:00
parent ac4ebacfeb
commit aafa7178f9
30 changed files with 553 additions and 499 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")),
],