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

Method test_equality

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

Source from the content-addressed store, hash-verified

811 assert value == "Value"
812
813 def test_equality(self):
814 # test equality, given keys are case insensitive
815 h1 = self.storage_class()
816 h1.add("X-Foo", "foo")
817 h1.add("X-Bar", "bah")
818 h1.add("X-Bar", "humbug")
819
820 h2 = self.storage_class()
821 h2.add("x-foo", "foo")
822 h2.add("x-bar", "bah")
823 h2.add("x-bar", "humbug")
824
825 assert h1 == h2
826
827 def test_or(self) -> None:
828 a = ds.Headers({"x": 1})

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected