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

Method explicit_namespace_works_correctly

tests/program.py:365–368  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

363 )
364
365 def explicit_namespace_works_correctly(self):
366 # Regression-ish test re #288
367 ns = Collection.from_module(load("integration"))
368 expect("print-foo", out="foo\n", program=Program(namespace=ns))
369
370 def allows_explicit_task_module_specification(self):
371 expect("-c integration print-foo", out="foo\n")

Callers

nothing calls this directly

Calls 4

loadFunction · 0.90
expectFunction · 0.90
ProgramClass · 0.90
from_moduleMethod · 0.80

Tested by

no test coverage detected