def METHOD_NAME(download_gcs_public_data, storage_provider, url, columns_nb, separator, has_header):
    # inject temp file path that was downloaded by the test as URL
    url = download_gcs_public_data if storage_provider == "local" else url
    config = {
        "format": "csv",
        "dataset_name": "output",
        "reader_options": {"sep": separator, "nrows": 42},
        "provider": {"storage": storage_provider, "user_agent": False},
        "url": url,
    }
    check_read(config, expected_columns=columns_nb)