MCPcopy Index your code
hub / github.com/pyinvoke/invoke / pre_tasks

Method pre_tasks

tests/executor.py:90–92  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

88 "basic pre/post task functionality"
89
90 def pre_tasks(self):
91 self.executor.execute("task2")
92 assert self.task1.body.call_count == 1
93
94 def post_tasks(self):
95 self.executor.execute("task4")

Callers

nothing calls this directly

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected