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

Method uses_overridden_value_when_given

tests/program.py:151–155  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

149 assert "myapp [--core-opts]" in stdout
150
151 def uses_overridden_value_when_given(self):
152 stdout, _ = run(
153 "myapp --help", invoke=False, program=Program(binary="nope")
154 )
155 assert "nope [--core-opts]" in stdout
156
157 @trap
158 def use_binary_basename_when_invoked_absolutely(self):

Callers

nothing calls this directly

Calls 2

runFunction · 0.90
ProgramClass · 0.90

Tested by

no test coverage detected