def get_call_name(call):
    """Get name of a `mock.call` function."""
    call_str = str(call)
    call_str = call_str[call_str.find('call.') + len('call.'):]
    call_str = call_str[:call_str.find('(')]
    return call_str