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

Method can_be_given_directly

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

Source from the content-addressed store, hash-verified

185 assert " foo" in stdout
186
187 def can_be_given_directly(self):
188 program = Program(binary_names=["foo", "bar"])
189 stdout, _ = run(
190 "foo --print-completion-script zsh",
191 invoke=False,
192 program=program,
193 )
194 assert " foo bar" in stdout
195
196 class print_version:
197 def displays_name_and_version(self):

Callers

nothing calls this directly

Calls 2

ProgramClass · 0.90
runFunction · 0.90

Tested by

no test coverage detected