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

Method raises_CollectionNotFound_if_not_found

tests/loader.py:104–106  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

102 assert FSLoader(config=config).start == "nowhere"
103
104 def raises_CollectionNotFound_if_not_found(self):
105 with raises(CollectionNotFound):
106 self.loader.load("nope")
107
108 def raises_ImportError_if_found_collection_cannot_be_imported(self):
109 # Instead of masking with a CollectionNotFound

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected