MCPcopy Create free account
hub / github.com/celery/celery / setup_method

Method setup_method

t/unit/contrib/test_abortable.py:6–10  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4class test_AbortableTask:
5
6 def setup_method(self):
7 @self.app.task(base=AbortableTask, shared=False)
8 def abortable():
9 return True
10 self.abortable = abortable
11
12 def test_async_result_is_abortable(self):
13 result = self.abortable.apply_async()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected