docstr: Test unsupported location URI.
docstr_tok: ["Test","unsupported","location","URI","."]
code: def test_create_location_unknown_type(
      self, mock_get_conn, location_uri
  ):
      """Test unsupported location URI."""
      mock_get_conn.return_value = mock.MagicMock()
      with pytest.raises(
          AirflowException,
          match="Invalid/Unsupported location type: .*",
      ):
          self.hook.create_location(location_uri, foo="bar", spam="egg")
  
imports: from __future__ import annotations
  from unittest import mock
  import boto3
  import pytest
  from moto import mock_datasync
  from airflow.exceptions import AirflowException, AirflowTaskTimeout
  from airflow.providers.amazon.aws.hooks.datasync import DataSyncHook
label_desc: Use image node_id 5 for calling the TestDataSyncHookMocked obj's underlying member method code with example usage: obj.test_create_location_unknown_type(mock_get_conn, location_uri) without return types