MCPcopy Create free account
hub / github.com/0x676e67/wreq-python / test_setitem_and_getitem

Function test_setitem_and_getitem

tests/header_map_test.py:49–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47
48@pytest.mark.flaky(reruns=3, reruns_delay=2)
49def test_setitem_and_getitem():
50 h = HeaderMap()
51 h["A"] = "B"
52 assert h["A"] == b"B"
53 h["A"] = "C"
54 assert h["A"] == b"C"
55 assert list(h.get_all("A")) == [b"C"]
56
57
58@pytest.mark.flaky(reruns=3, reruns_delay=2)

Callers

nothing calls this directly

Calls 2

get_allMethod · 0.95
HeaderMapClass · 0.85

Tested by

no test coverage detected