(self)
| 93 | self.assertIsNone(self.cache.get_by_key("default/ghost")) |
| 94 | |
| 95 | def test_get(self): |
| 96 | pod = _make_pod("kube-system", "coredns") |
| 97 | self.cache._put(pod) |
| 98 | self.assertIs(self.cache.get(pod), pod) |
| 99 | |
| 100 | def test_thread_safety(self): |
| 101 | """Concurrent puts should not raise exceptions.""" |