MCPcopy
hub / github.com/celery/celery / test_mark_as_started

Method test_mark_as_started

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

Source from the content-addressed store, hash-verified

314 assert rindb.get('bar').data == 12345
315
316 def test_mark_as_started(self):
317 tb = DatabaseBackend(self.uri, app=self.app)
318 tid = uuid()
319 tb.mark_as_started(tid)
320 assert tb.get_state(tid) == states.STARTED
321
322 def test_mark_as_revoked(self):
323 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