mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-01 12:18:50 -04:00
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:
@@ -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")),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user