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

Method setup_method

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

Source from the content-addressed store, hash-verified

247class test_BaseBackend_interface:
248
249 def setup_method(self):
250 self.b = BaseBackend(self.app)
251
252 @self.app.task(shared=False)
253 def callback(result):
254 pass
255
256 self.callback = callback
257
258 def test__forget(self):
259 with pytest.raises(NotImplementedError):

Callers

nothing calls this directly

Calls 1

BaseBackendClass · 0.90

Tested by

no test coverage detected