()
| 67 | |
| 68 | @pytest.mark.flaky(reruns=3, reruns_delay=2) |
| 69 | def test_clear(): |
| 70 | h = HeaderMap() |
| 71 | h.insert("A", "1") |
| 72 | h.insert("B", "2") |
| 73 | h.clear() |
| 74 | assert h.is_empty() |
| 75 | assert len(h) == 0 |
| 76 | assert h.keys_len() == 0 |
| 77 | |
| 78 | |
| 79 | @pytest.mark.flaky(reruns=3, reruns_delay=2) |