API
The base mocksafe module. |
|
This module provides an optional pytest plugin for mocksafe for monkeypatching. |
|
|
Creates a mock of the given |
|
Creates a mocked version of the given |
|
Reset a mock object's configured stubbing and recorded calls. |
|
Stub a mocked method / Callable. |
|
Prepare to stub a property on |
|
Used to assert how a mocked method was called. |
|
This is used to capture the arguments that were passed when the given |
|
Used to mock a property on a mock object. |
|
Used to set a MockProperty on an existing mock object. |
|
Set up conditions for when a stub is to be used. |
|
Set up results or side effects to be used when for the stub the condition matches. |
|
Set up results or side effects to be used when for the stub the condition matches. |
|
Provides information about calls made to a mocked method. |