def METHOD_NAME(mocker: requests_mock.Mocker, data: Dict[str, Union[bytes, Exception]]) -> None:
    for url, response in data.items():
        if isinstance(response, Exception):
            mocker.register_uri('GET', url, exc=response)
        else:
            mocker.register_uri('GET', url, content=response)