Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pyinvoke/invoke
/ may_specify_namespace
Method
may_specify_namespace
tests/program.py:53–55 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
51
assert Program().version ==
"unknown"
52
53
def
may_specify_namespace(self):
54
foo = load(
"foo"
)
55
assert Program(namespace=foo).namespace is foo
56
57
def
may_specify_name(self):
58
assert Program(name=
"Myapp"
).name ==
"Myapp"
Callers
nothing calls this directly
Calls
2
load
Function · 0.90
Program
Class · 0.90
Tested by
no test coverage detected