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

Method nested_path

tests/collection.py:717–720  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

715 assert collection.subcollection_from_path("build") is build
716
717 def nested_path(self):
718 collection = Collection.from_module(load("tree"))
719 docs = collection.collections["build"].collections["docs"]
720 assert collection.subcollection_from_path("build.docs") is docs
721
722 def invalid_path(self):
723 # This is really just testing Lexicon/dict behavior but w/e, good

Callers

nothing calls this directly

Calls 3

loadFunction · 0.90
from_moduleMethod · 0.80

Tested by

no test coverage detected