def METHOD_NAME(
    client, monkeypatch, elasticsearch_award_index, tas_with_nonintuitive_agency
):
    # ensure that api CANNOT find a TAS from the agency in the TAS code's aid, because it's actually linked under a
    # different agency
    _setup_es(client, monkeypatch, elasticsearch_award_index)
    resp = query_by_tas(client, {"require": [_agency_path(BASIC_TAS)]})
    assert resp.json()["results"] == []