async def METHOD_NAME(hacs, repository, aresponses):
    aresponses.add(
        "api.github.com",
        "/rate_limit",
        "get",
        aresponses.Response(body=b"{}", headers=response_rate_limit_header, status=200),
    )
    aresponses.add(
        "api.github.com",
        "/repos/test/test",
        "get",
        aresponses.Response(body=json.dumps(repository_data), headers=response_rate_limit_header),
    )
    removed = hacs.repositories.removed_repository("test/test")
    assert removed.repository == "test/test"
    with pytest.raises(HacsException):
        await repository.common_validate()