MCPcopy
hub / github.com/celery/celery / test_reset

Method test_reset

t/unit/utils/test_platforms.py:151–153  ·  view source on GitHub ↗
(self, set)

Source from the content-addressed store, hash-verified

149
150 @patch('signal.signal')
151 def test_reset(self, set):
152 signals.reset('SIGINT')
153 set.assert_called_with(signals.signum('INT'), signals.default)
154
155 @patch('signal.signal')
156 def test_setitem(self, set):

Callers

nothing calls this directly

Calls 2

signumMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected