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

Method has_autoprint_option

tests/task.py:47–50  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

45 assert self.vanilla[""] == self.vanilla["biz"]
46
47 def has_autoprint_option(self):
48 ap = self._load("autoprint")
49 assert ap["nope"].autoprint is False
50 assert ap["yup"].autoprint is True
51
52 def raises_ValueError_on_multiple_defaults(self):
53 with raises(ValueError):

Callers

nothing calls this directly

Calls 1

_loadMethod · 0.95

Tested by

no test coverage detected