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

Method includes_aka_if_explicit_name_given

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

Source from the content-addressed store, hash-verified

509 assert str(call) == expected
510
511 def includes_aka_if_explicit_name_given(self):
512 call = Call(self.task, called_as="notmytask")
513 expected = "<Call 'mytask' (called as: 'notmytask'), args: (), kwargs: {}>" # noqa
514 assert str(call) == expected
515
516 def skips_aka_if_explicit_name_same_as_task_name(self):
517 call = Call(self.task, called_as="mytask")

Callers

nothing calls this directly

Calls 2

CallClass · 0.90
strClass · 0.85

Tested by

no test coverage detected