(self)
| 78 | self.cache._remove(pod) # should not raise |
| 79 | |
| 80 | def test_replace_all(self): |
| 81 | pod1 = _make_pod("default", "p1") |
| 82 | pod2 = _make_pod("default", "p2") |
| 83 | self.cache._put(pod1) |
| 84 | self.cache._replace_all([pod2]) |
| 85 | keys = self.cache.list_keys() |
| 86 | self.assertNotIn("default/p1", keys) |
| 87 | self.assertIn("default/p2", keys) |
| 88 | |
| 89 | def test_get_by_key(self): |
| 90 | pod = _make_pod("default", "p1") |
nothing calls this directly
no test coverage detected