Skip to content

Commit

Permalink
Revert some header changes
Browse files Browse the repository at this point in the history
  • Loading branch information
amh4r committed Nov 22, 2024
1 parent 2516d1d commit 0be9dac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/test_introspection/test_digital_ocean.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def test_cloud_mode_with_signature(self) -> None:
assert isinstance(
net.validate_response_sig(
body=res.get_data(),
headers={k: v for k, v in res.headers},
headers=res.headers,
mode=server_lib.ServerKind.CLOUD,
signing_key=self.signing_key,
),
Expand Down
4 changes: 2 additions & 2 deletions tests/test_introspection/test_flask.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test_cloud_mode_with_signature(self) -> None:
assert isinstance(
net.validate_response_sig(
body=res.get_data(),
headers={k: v for k, v in res.headers},
headers=res.headers,
mode=server_lib.ServerKind.CLOUD,
signing_key=self.signing_key,
),
Expand Down Expand Up @@ -115,7 +115,7 @@ def test_cloud_mode_with_signature_fallback(self) -> None:
assert isinstance(
net.validate_response_sig(
body=res.get_data(),
headers={k: v for k, v in res.headers},
headers=res.headers,
mode=server_lib.ServerKind.CLOUD,
signing_key=signing_key_fallback,
),
Expand Down
2 changes: 1 addition & 1 deletion tests/test_probes/test_flask.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test_signed(self) -> None:
assert isinstance(
net.validate_response_sig(
body=res.get_data(),
headers={k: v for k, v in res.headers},
headers=res.headers,
mode=server_lib.ServerKind.CLOUD,
signing_key=self.signing_key,
),
Expand Down

0 comments on commit 0be9dac

Please sign in to comment.