(self)
| 83 | class test_Consumer(ConsumerCase): |
| 84 | |
| 85 | def setup_method(self): |
| 86 | self.buffer = FastQueue() |
| 87 | self.timer = Timer() |
| 88 | |
| 89 | @self.app.task(shared=False) |
| 90 | def foo_task(x, y, z): |
| 91 | return x * y * z |
| 92 | self.foo_task = foo_task |
| 93 | |
| 94 | def teardown_method(self): |
| 95 | self.timer.stop() |