Simon Willison on Twitter: "Clever way to use Python 3 type annotations: this "patch" decorator looks at the type annotation of the self argument to determine which class it should monkeypatch a
Cheat Sheet of Python Mock by Ines Panker
How mock.patch decorator works in python | by Yuki Nishiwaki | ukinau | Medium
pytest: How to mock in Python – Chang Hsin Lee – Committing my thoughts to words.
How To Mock Patch A Function (Testing Python With Pytest) - YouTube
python - How to test a function that uses a decorator cache.memoize - Stack Overflow
How to Write Independent Unit Test with Pytest and Mock Techniques | SAP Blogs
mock.patch-Decorator and test fixtures don't work together · Issue #217 · pytest-dev/pytest · GitHub
Getting Started with Mocking in Python - Semaphore
python - Pytest mock.patch requests AttributeError: does not have the attribute 'json' - Stack Overflow
Mocking with Python
How to patch Python objects in tests - DEV Community
can't run/debug separate tests that use function decorators · Issue #3721 · microsoft/vscode-python · GitHub
Danny's tech notebook | 丹尼技術手札: [Python] How can I patch a Python decorator before it wraps a function?