code: def test_describe_model_throws_exception_for_nonexistent_model(
      sagemaker_client,
  ):
      with pytest.raises(
          ValueError, match="Attempted to describe a model"
      ):
          sagemaker_client.describe_model(ModelName="nonexistent-model")
  
imports: import boto3
  import pytest
  from tests.helper_functions import set_boto_credentials
  from tests.sagemaker.mock import mock_sagemaker
label_desc: Use image node_id 9 for calling a global function with example usage: test_describe_model_throws_exception_for_nonexistent_model(sagemaker_client) without return types