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

Method allows_access_to_wrapped_object

tests/task.py:32–36  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30 self.vanilla = self._load("decorators")
31
32 def allows_access_to_wrapped_object(self):
33 def lolcats(c):
34 pass
35
36 assert task(lolcats).body == lolcats
37
38 def allows_alias_specification(self):
39 assert self.vanilla["foo"] == self.vanilla["bar"]

Callers

nothing calls this directly

Calls 1

taskFunction · 0.90

Tested by

no test coverage detected