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

Method test_mark_as_started

t/unit/backends/test_database.py:781–785  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

779 mock_inspector.get_columns.assert_not_called()
780
781 def test_mark_as_started(self):
782 tb = DatabaseBackend(self.uri, app=self.app)
783 tid = uuid()
784 tb.mark_as_started(tid)
785 assert tb.get_state(tid) == states.STARTED
786
787 def test_mark_as_revoked(self):
788 tb = DatabaseBackend(self.uri, app=self.app)

Callers

nothing calls this directly

Calls 3

DatabaseBackendClass · 0.90
mark_as_startedMethod · 0.80
get_stateMethod · 0.80

Tested by

no test coverage detected