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

Method test_timeout_ignored

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

Source from the content-addressed store, hash-verified

716class test_synloop:
717
718 def test_timeout_ignored(self):
719 x = X(self.app)
720 x.timeout_then_error(x.connection.drain_events)
721 with pytest.raises(socket.error):
722 synloop(*x.args)
723 assert x.connection.drain_events.call_count == 2
724
725 def test_updates_qos_when_changed(self):
726 x = X(self.app)

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected