(self)
| 44 | """ |
| 45 | |
| 46 | def test_get(self): |
| 47 | d = {":x": 1, ":y": (inc, ":x"), ":z": (add, ":x", ":y")} |
| 48 | |
| 49 | assert self.get(d, ":x") == 1 |
| 50 | assert self.get(d, ":y") == 2 |
| 51 | assert self.get(d, ":z") == 3 |
| 52 | |
| 53 | def test_badkey(self): |
| 54 | d = {":x": 1, ":y": (inc, ":x"), ":z": (add, ":x", ":y")} |
no test coverage detected