(self)
| 2360 | assert "notspam" not in cid |
| 2361 | |
| 2362 | def test_get(self): |
| 2363 | cid = CaseInsensitiveDict() |
| 2364 | cid["spam"] = "oneval" |
| 2365 | cid["SPAM"] = "blueval" |
| 2366 | assert cid.get("spam") == "blueval" |
| 2367 | assert cid.get("SPAM") == "blueval" |
| 2368 | assert cid.get("sPam") == "blueval" |
| 2369 | assert cid.get("notspam", "default") == "default" |
| 2370 | |
| 2371 | def test_update(self): |
| 2372 | cid = CaseInsensitiveDict() |
nothing calls this directly
no test coverage detected