code: def test_update_non_existent_raises(
      queue_mongo_resource: QueueMongoResource,
      cache_mongo_resource: CacheMongoResource,
  ) -> None:
      with pytest.raises(NotSupportedRepositoryNotFoundError):
          update_dataset(
              dataset="this-dataset-does-not-exists",
              hf_endpoint=CI_HUB_ENDPOINT,
              hf_token=CI_APP_TOKEN,
          )
  
imports: import time
  from collections.abc import Iterator
  from contextlib import contextmanager
  from http import HTTPStatus
  from pathlib import Path
  from unittest.mock import patch
  import pytest
  from huggingface_hub.hf_api import DatasetInfo, HfApi
  from huggingface_hub.utils import HfHubHTTPError
  from requests import Response
  from libcommon.exceptions import DatasetInBlockListError, NotSupportedDisabledRepositoryError, NotSupportedPrivateRepositoryError, NotSupportedRepositoryNotFoundError
  from libcommon.operations import delete_dataset, get_latest_dataset_revision_if_supported_or_raise, update_dataset
  from libcommon.queue import Queue
  from libcommon.resources import CacheMongoResource, QueueMongoResource
  from libcommon.simple_cache import has_some_cache, upsert_response
  from libcommon.storage_client import StorageClient
  from .constants import CI_APP_TOKEN, CI_HUB_ENDPOINT, ENTERPRISE_ORG, ENTERPRISE_USER, ENTERPRISE_USER_TOKEN, NORMAL_ORG, NORMAL_USER, NORMAL_USER_TOKEN, PRO_USER, PRO_USER_TOKEN, PROD_HUB_ENDPOINT
  from .utils import REVISION_NAME
label_desc: Use image node_id 6 for calling a global function with example usage: test_update_non_existent_raises(queue_mongo_resource, cache_mongo_resource) without return types