def METHOD_NAME(db):
    original = VALUE_MAPPINGS["idv_orders"]["filter_function"]
    VALUE_MAPPINGS["idv_orders"]["filter_function"] = MagicMock(returned_value="")
    csv_sources = download_generation.get_download_sources(
        {
            "download_types": ["idv_orders"],
            "filters": {"award_id": 0, "award_type_codes": tuple(set(contract_type_mapping) | set(idv_type_mapping))},
        }
    )
    assert len(csv_sources) == 1
    VALUE_MAPPINGS["idv_orders"]["filter_function"] = original
    assert csv_sources[0].file_type == "d1"
    assert csv_sources[0].source_type == "idv_orders"