replcae the apt-get install python-mock with pip install mock