mock pytest psutil