MCPcopy
hub / github.com/pallets/werkzeug / test_authorization_to_header

Function test_authorization_to_header

tests/test_http.py:732–735  ·  view source on GitHub ↗
(value: str)

Source from the content-addressed store, hash-verified

730 ],
731)
732def test_authorization_to_header(value: str) -> None:
733 parsed = Authorization.from_header(value)
734 assert parsed is not None
735 assert parsed.to_header() == value
736
737
738@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

from_headerMethod · 0.45
to_headerMethod · 0.45

Tested by

no test coverage detected