MCPcopy
hub / github.com/celery/celery / test_maybe_throw

Method test_maybe_throw

t/unit/tasks/test_result.py:878–883  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

876 assert not self.ts.failed()
877
878 def test_maybe_throw(self):
879 self.ts.results = [Mock(name='r1')]
880 self.ts.maybe_throw()
881 self.ts.results[0].maybe_throw.assert_called_with(
882 callback=None, propagate=True,
883 )
884
885 def test_join__on_message(self):
886 with pytest.raises(ImproperlyConfigured):

Callers

nothing calls this directly

Calls 1

maybe_throwMethod · 0.45

Tested by

no test coverage detected