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

Method test_reset

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

Source from the content-addressed store, hash-verified

299
300 @patch('signal.signal')
301 def test_reset(self, set):
302 signals.reset('SIGINT')
303 set.assert_called_with(signals.signum('INT'), signals.default)
304
305 @patch('signal.signal')
306 def test_setitem(self, set):

Callers

nothing calls this directly

Calls 2

signumMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected