Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pyinvoke/invoke
/ defaults_to_empty_dict
Method
defaults_to_empty_dict
tests/task.py:481–482 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
479
480
class
kwargs:
481
def
defaults_to_empty_dict(self):
482
assert Call(_).kwargs == dict()
483
484
def
may_be_given(self):
485
assert Call(_, kwargs={
"foo"
:
"bar"
}).kwargs == {
"foo"
:
"bar"
}
Callers
nothing calls this directly
Calls
1
Call
Class · 0.90
Tested by
no test coverage detected