MCPcopy
hub / github.com/celery/celery / test_add_trail__no_trail

Method test_add_trail__no_trail

t/unit/tasks/test_tasks.py:1259–1262  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1257 assert res.get() == "replaced"
1258
1259 def test_add_trail__no_trail(self):
1260 mytask = self.increment_counter._get_current_object()
1261 mytask.trail = False
1262 mytask.add_trail('foo')
1263
1264 def test_repr_v2_compat(self):
1265 self.mytask.__v2_compat__ = True

Callers

nothing calls this directly

Calls 2

add_trailMethod · 0.80
_get_current_objectMethod · 0.45

Tested by

no test coverage detected