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

Method defaults_to_argv_when_None

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

Source from the content-addressed store, hash-verified

181 # NOTE: this is currently only used for completion stuff, so we use
182 # that to test. TODO: maybe make this more unit-y...
183 def defaults_to_argv_when_None(self):
184 stdout, _ = run("foo --print-completion-script zsh", invoke=False)
185 assert " foo" in stdout
186
187 def can_be_given_directly(self):
188 program = Program(binary_names=["foo", "bar"])

Callers

nothing calls this directly

Calls 1

runFunction · 0.90

Tested by

no test coverage detected