because translate cinder exception is using functools wraps  it grabs name off of the function  i figured mock would be able to handle that call just fine  but for some reason it doesn t  i guess it needs to be a string  but mock returns a mock object  more info here 