MCPcopy
hub / github.com/celery/celery / _QoS

Class _QoS

t/unit/worker/test_worker.py:660–665  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

658 def test_start__loop(self):
659
660 class _QoS:
661 prev = 3
662 value = 4
663
664 def update(self):
665 self.prev = self.value
666
667 init_callback = Mock(name='init_callback')
668 c = self.NoopConsumer(init_callback=init_callback)

Callers 1

test_start__loopMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_start__loopMethod · 0.68