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

Function test_retry_after_mixin

tests/test_exceptions.py:134–137  ·  view source on GitHub ↗
(cls, value, expect)

Source from the content-addressed store, hash-verified

132 ],
133)
134def test_retry_after_mixin(cls, value, expect):
135 e = cls(retry_after=value)
136 h = dict(e.get_headers({}))
137 assert h["Retry-After"] == expect
138
139
140@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

get_headersMethod · 0.45

Tested by

no test coverage detected