Mockito base fixtures for Pytest
The pytest-mockito
plugin provides base Mockito fixtures for Pytest. It covers the main entry points of the Mockito mocking framework and makes it easy to undo any monkey patching. The fixtures are:
when
when2
expect
patch
unstub
spy2
Linter | Message | Location |
---|---|---|
inputs-should-be-native Identify inputs that should be native inputs | 'python-pytest' should probably be a native input |