def METHOD_NAME():
    """Test PDLookup functions."""
    route = respx.get(re.compile(r"https://pulsedive\.com/api/info\.php.*")).respond(
        200, json=_INDICATOR_RESP
    )
    pd_lookup = PDlookup(pd_key="ACCESS")
    result = pd_lookup.lookup_ioc("21.21.21.21")
    check.is_instance(result, pd.DataFrame)
    check.equal(len(result), 1)
    check.equal(
        str(respx.calls[0].request.url),
        "https://pulsedive.com/api/info.php?pretty=1&key=ACCESS&indicator=21.21.21.21",
    )
    respx.get(re.compile(r"https://pulsedive\.com/api/info\.php.*")).respond(
        404, json={}
    )
    with pytest.raises(ValueError) as err:
        result = pd_lookup.lookup_ioc("21.bad.ip.21")