def METHOD_NAME(self, requests_mocker, method):
    api_data_set = APIDataSet(
        url=TEST_URL, method=method, params=TEST_PARAMS, headers=TEST_HEADERS
    )
    requests_mocker.register_uri(
        method,
        TEST_URL_WITH_PARAMS,
        headers=TEST_HEADERS,
        text="Nope, not found",
        status_code=requests.codes.FORBIDDEN,
    )
    with pytest.raises(DatasetError, match="Failed to fetch data"):
        api_data_set.load()