(self)
| 30 | self.assertEqual(q.get(), "getme") |
| 31 | |
| 32 | def test_putotherprocess(self): |
| 33 | table = "test_putotherprocess" |
| 34 | from multiprocessing import Process |
| 35 | p = Process(target=remote_put, args=(table,"k", "remote")) |
| 36 | p.start() |
| 37 | p.join() |
| 38 | self.assertEqual(diskcache_get(table, "k"), "remote") |
| 39 | |
| 40 | def test_no_table(self): |
| 41 | self.assertIsNone(diskcache_get("faketable", "k")) |
nothing calls this directly
no test coverage detected