def METHOD_NAME(
    client, monkeypatch, elasticsearch_award_index, subaward_with_unintuitive_agency
):
    _setup_es(client, monkeypatch, elasticsearch_award_index)
    # 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
    resp = query_by_tas_subaward(client, {"require": [_agency_path(ATA_TAS)]})
    assert resp.json()["results"] == []