E fixture ‘mocker’ not found

Emre Bayram
1 min readApr 7, 2020

--

Today when I was trying to run a pytest module; I got this error:

“E fixture ‘mocker’ not found”.

I have spent 10 minutes to find what is causing this.

So I am writing here maybe someone else spends 5 mins instead of 10;

Just install the missing fixture! :)

pip install pytest-mock

--

--