Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
run
Function · 0.90
Tested by
no test coverage detected