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

Method assertStateEmpty

t/unit/events/test_state.py:489–493  ·  view source on GitHub ↗
(self, state)

Source from the content-addressed store, hash-verified

487 assert r.state.tasks[r.tid2].parent is r.state.tasks[r.tid]
488
489 def assertStateEmpty(self, state):
490 assert not state.tasks
491 assert not state.workers
492 assert not state.event_count
493 assert not state.task_count
494
495 def assertState(self, state):
496 assert state.tasks

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected