def METHOD_NAME(
    self,
    method,
    url,
    data=None,
    timeout=10,
    files=None,
    params=None,
    headers=None,
    **kwargs
):
    filename = data_path(DATA_FILES[data])
    with open(filename, "rb") as infile:
        content = infile.read()
    return MockResponse(content)