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

Method run

tests/init.py:100–104  ·  view source on GitHub ↗
(self, Context)

Source from the content-addressed store, hash-verified

98 class offers_singletons:
99 @patch("invoke.Context")
100 def run(self, Context):
101 result = invoke.run("foo", bar="biz")
102 ctx = Context.return_value
103 ctx.run.assert_called_once_with("foo", bar="biz")
104 assert result is ctx.run.return_value
105
106 @patch("invoke.Context")
107 def sudo(self, Context):

Callers 15

_runFunction · 0.45
honors_configMethod · 0.45
kwarg_beats_configMethod · 0.45
honors_configMethod · 0.45
kwarg_beats_configMethod · 0.45
honors_configMethod · 0.45
kwarg_beats_configMethod · 0.45
may_be_configuredMethod · 0.45
kwarg_beats_configMethod · 0.45
return_codeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected