code: def test_incorrect_params_files_patterns():
      exception_message = (
          "Only one of 'pattern' or 'files' should be specified"
      )
      with pytest.raises(AirflowException, match=exception_message):
          DatabricksCopyIntoOperator(
              task_id=TASK_ID,
              file_location=COPY_FILE_LOCATION,
              file_format="JSON",
              table_name="test",
              files=["file1", "file2", "file3"],
              pattern="abc",
          )
  
file_path: airflow/tests/providers/databricks/operators/test_databricks_copy.py
imports: from __future__ import annotations
  import pytest
  from airflow.exceptions import AirflowException
  from airflow.providers.databricks.operators.databricks_sql import DatabricksCopyIntoOperator
label_desc: Use image node_id 9 for calling a global function with example usage: test_incorrect_params_files_patterns() without return types