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

Method sudo

tests/context.py:62–63  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

60 assert runner_class.mock_calls == [call(c), call().run("foo")]
61
62 def sudo(self):
63 self._expect_attr("sudo")
64
65 class configuration_proxy:
66 "Dict-like proxy for self.config"

Calls 1

_expect_attrMethod · 0.95

Tested by

no test coverage detected