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

Method adds_module_parent_dir_to_sys_path

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

Source from the content-addressed store, hash-verified

48 assert loader.config.tasks.collection_name == "mytasks"
49
50 def adds_module_parent_dir_to_sys_path(self):
51 # Crummy doesn't-explode test.
52 _BasicLoader().load("namespacing")
53
54 def doesnt_duplicate_parent_dir_addition(self):
55 _BasicLoader().load("namespacing")

Callers

nothing calls this directly

Calls 2

_BasicLoaderClass · 0.85
loadMethod · 0.45

Tested by

no test coverage detected