MCPcopy Create free account
hub / github.com/pyinvoke/invoke / task_driven_with_helpstr

Method task_driven_with_helpstr

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

Source from the content-addressed store, hash-verified

184 assert result == ("--bar=STRING", "bar the baz")
185
186 def task_driven_with_helpstr(self):
187 result = self.tasked.help_for("--otherarg")
188 assert result == ("-o STRING, --otherarg=STRING", "other help")
189
190 # Yes, the next 3 tests are identical in form, but technically they
191 # test different behaviors. HERPIN' AN' DERPIN'

Callers

nothing calls this directly

Calls 1

help_forMethod · 0.80

Tested by

no test coverage detected