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