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

Method allows_collection_and_config

tests/executor.py:32–37  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30 "__init__"
31
32 def allows_collection_and_config(self):
33 coll = Collection()
34 conf = Config()
35 e = Executor(collection=coll, config=conf)
36 assert e.collection is coll
37 assert e.config is conf
38
39 def uses_blank_config_by_default(self):
40 e = Executor(collection=Collection())

Callers

nothing calls this directly

Calls 3

CollectionClass · 0.90
ConfigClass · 0.90
ExecutorClass · 0.90

Tested by

no test coverage detected