MCPcopy
hub / github.com/celery/celery / test_timeout_ignored

Method test_timeout_ignored

t/unit/worker/test_loops.py:596–601  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

594class test_synloop:
595
596 def test_timeout_ignored(self):
597 x = X(self.app)
598 x.timeout_then_error(x.connection.drain_events)
599 with pytest.raises(socket.error):
600 synloop(*x.args)
601 assert x.connection.drain_events.call_count == 2
602
603 def test_updates_qos_when_changed(self):
604 x = X(self.app)

Callers

nothing calls this directly

Calls 4

timeout_then_errorMethod · 0.95
synloopFunction · 0.90
XClass · 0.70
raisesMethod · 0.45

Tested by

no test coverage detected