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

Method test_set_arguments

tests/test_datastructures.py:732–736  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

730 headers.pop("c")
731
732 def test_set_arguments(self):
733 a = self.storage_class()
734 a.set("Content-Disposition", "useless")
735 a.set("Content-Disposition", "attachment", filename="foo")
736 assert a["Content-Disposition"] == "attachment; filename=foo"
737
738 def test_reject_newlines(self):
739 h = self.storage_class()

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected