(self)
| 68 | self.assertIn(pod, self.cache.list()) |
| 69 | |
| 70 | def test_remove(self): |
| 71 | pod = _make_pod("default", "p1") |
| 72 | self.cache._put(pod) |
| 73 | self.cache._remove(pod) |
| 74 | self.assertEqual(self.cache.list(), []) |
| 75 | |
| 76 | def test_remove_nonexistent_is_noop(self): |
| 77 | pod = _make_pod("default", "missing") |