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

Method test_to_wsgi_list

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

Source from the content-addressed store, hash-verified

804 assert h.setlistdefault("d", ["4", "5"]) == ["4", "5"]
805
806 def test_to_wsgi_list(self):
807 h = self.storage_class()
808 h.set("Key", "Value")
809 for key, value in h.to_wsgi_list():
810 assert key == "Key"
811 assert value == "Value"
812
813 def test_equality(self):
814 # test equality, given keys are case insensitive

Callers

nothing calls this directly

Calls 2

to_wsgi_listMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected