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

Method task_driven_no_helpstr

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

Source from the content-addressed store, hash-verified

190 # Yes, the next 3 tests are identical in form, but technically they
191 # test different behaviors. HERPIN' AN' DERPIN'
192 def task_driven_no_helpstr(self):
193 result = self.tasked.help_for("--myarg")
194 assert result == ("-m STRING, --myarg=STRING", "")
195
196 def short_form_before_long_form(self):
197 result = self.tasked.help_for("--myarg")

Callers

nothing calls this directly

Calls 1

help_forMethod · 0.80

Tested by

no test coverage detected