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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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 usedmonkeypatch
. Thanks for showing example here.