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

Function test_len_and_keys_len

tests/header_map_test.py:59–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57
58@pytest.mark.flaky(reruns=3, reruns_delay=2)
59def test_len_and_keys_len():
60 h = HeaderMap()
61 h.insert("A", "1")
62 h.append("A", "2")
63 h.insert("B", "3")
64 assert len(h) == 3
65 assert h.keys_len() == 2
66
67
68@pytest.mark.flaky(reruns=3, reruns_delay=2)

Callers

nothing calls this directly

Calls 4

insertMethod · 0.95
appendMethod · 0.95
keys_lenMethod · 0.95
HeaderMapClass · 0.85

Tested by

no test coverage detected