Use patch.object