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

Method positional_is_False_by_default

tests/parser_argument.py:30–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

28 assert Argument(name="foo", positional=True).positional is True
29
30 def positional_is_False_by_default(self):
31 assert Argument(name="foo").positional is False
32
33 def can_set_attr_name_to_control_name_attr(self):
34 a = Argument("foo", attr_name="bar")

Callers

nothing calls this directly

Calls 1

ArgumentClass · 0.90

Tested by

no test coverage detected