MCPcopy Index your code
hub / github.com/celery/celery / setup_method

Method setup_method

t/unit/backends/test_base.py:207–214  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

205class test_BaseBackend_interface:
206
207 def setup_method(self):
208 self.b = BaseBackend(self.app)
209
210 @self.app.task(shared=False)
211 def callback(result):
212 pass
213
214 self.callback = callback
215
216 def test__forget(self):
217 with pytest.raises(NotImplementedError):

Callers

nothing calls this directly

Calls 1

BaseBackendClass · 0.90

Tested by

no test coverage detected