(self)
| 59 | """ |
| 60 | |
| 61 | def test_get(self): |
| 62 | d = {":x": 1, ":y": (inc, ":x"), ":z": (add, ":x", ":y")} |
| 63 | |
| 64 | assert self.get(d, ":x") == 1 |
| 65 | assert self.get(d, ":y") == 2 |
| 66 | assert self.get(d, ":z") == 3 |
| 67 | |
| 68 | def test_badkey(self): |
| 69 | d = {":x": 1, ":y": (inc, ":x"), ":z": (add, ":x", ":y")} |
no test coverage detected