(self)
| 20 | self.assertEqual(ret, ("complex", 123, "object")) |
| 21 | |
| 22 | def test_getotherprocess(self): |
| 23 | table = "test_getotherprocess" |
| 24 | from multiprocessing import Process, Queue |
| 25 | diskcache_put(table, "k", "getme") |
| 26 | q = Queue() |
| 27 | p = Process(target=remote_get, args=(table,q,"k")) |
| 28 | p.start() |
| 29 | p.join() |
| 30 | self.assertEqual(q.get(), "getme") |
| 31 | |
| 32 | def test_putotherprocess(self): |
| 33 | table = "test_putotherprocess" |
nothing calls this directly
no test coverage detected