|
def | __init__ (self, spec=None, side_effect=None, return_value=DEFAULT, name=None, parent=None, wraps=None) |
|
def | reset_mock (self) |
|
def | __call__ (self, args, kwargs) |
|
def | __getattr__ (self, name) |
|
def | assert_called_with (self, args, kwargs) |
|
|
| return_value = property(__get_return_value, __set_return_value) |
|
◆ __init__()
def webkitpy.thirdparty.mock.Mock.__init__ |
( |
|
self, |
|
|
|
spec = None , |
|
|
|
side_effect = None , |
|
|
|
return_value = DEFAULT , |
|
|
|
name = None , |
|
|
|
parent = None , |
|
|
|
wraps = None |
|
) |
| |
◆ __call__()
def webkitpy.thirdparty.mock.Mock.__call__ |
( |
|
self, |
|
|
|
args, |
|
|
|
kwargs |
|
) |
| |
◆ __getattr__()
def webkitpy.thirdparty.mock.Mock.__getattr__ |
( |
|
self, |
|
|
|
name |
|
) |
| |
◆ assert_called_with()
def webkitpy.thirdparty.mock.Mock.assert_called_with |
( |
|
self, |
|
|
|
args, |
|
|
|
kwargs |
|
) |
| |
◆ reset_mock()
def webkitpy.thirdparty.mock.Mock.reset_mock |
( |
|
self | ) |
|
◆ call_args
webkitpy.thirdparty.mock.Mock.call_args |
◆ call_args_list
webkitpy.thirdparty.mock.Mock.call_args_list |
◆ call_count
webkitpy.thirdparty.mock.Mock.call_count |
◆ called
webkitpy.thirdparty.mock.Mock.called |
◆ method_calls
webkitpy.thirdparty.mock.Mock.method_calls |
◆ side_effect
webkitpy.thirdparty.mock.Mock.side_effect |
◆ return_value
webkitpy.thirdparty.mock.Mock.return_value = property(__get_return_value, __set_return_value) |
|
static |
The documentation for this class was generated from the following file:
- Tools/Scripts/webkitpy/thirdparty/mock.py