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

Method test_setitem

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

Source from the content-addressed store, hash-verified

304
305 @patch('signal.signal')
306 def test_setitem(self, set):
307 def handle(*args):
308 return args
309
310 signals['INT'] = handle
311 set.assert_called_with(signal.SIGINT, handle)
312
313 @patch('signal.signal')
314 def test_setitem_raises(self, set):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected