| Conditions | 3 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | # pylint: disable=missing-docstring,unused-variable,unused-argument,expression-not-assigned,singleton-comparison |
||
| 52 | def describe_get(): |
||
| 53 | |||
| 54 | def it_hits_with_existing_data(cache_empty): |
||
| 55 | cache = cache_empty |
||
| 56 | cache.set("url", {}, "existing") |
||
| 57 | |||
| 58 | expect(cache.get("url", {})) == "existing" |
||
| 59 | |||
| 60 | def it_misses_with_no_data(cache_empty): |
||
| 61 | expect(cache_empty.get("url", {})) == None |
||
| 62 |