DEV Community


Discussion on: Pytest Features, That You Need in Your (Testing) Life

martinheinz profile image
Martin Heinz Author

I personally prefer to use unittest mock, that's why I showed it here, but you are right, that considering the title, maybe I should have used monkeypatch. Thanks for showing example here.