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

Method defaults_to_argv_when_None

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

Source from the content-addressed store, hash-verified

145
146 class binary:
147 def defaults_to_argv_when_None(self):
148 stdout, _ = run("myapp --help", invoke=False)
149 assert "myapp [--core-opts]" in stdout
150
151 def uses_overridden_value_when_given(self):
152 stdout, _ = run(

Callers

nothing calls this directly

Calls 1

runFunction · 0.90

Tested by

no test coverage detected