(self)
| 9 | class test_thread_TaskPool: |
| 10 | |
| 11 | def test_on_apply(self): |
| 12 | from celery.concurrency import thread |
| 13 | x = thread.TaskPool() |
| 14 | try: |
| 15 | x.on_apply(operator.add, (2, 2), {}, noop, noop) |
| 16 | finally: |
| 17 | x.stop() |
| 18 | |
| 19 | def test_info(self): |
| 20 | from celery.concurrency import thread |