code: def test_invalid_tuner_name_error(tmp_path):
      with pytest.raises(ValueError) as info:
          ak.AutoModel(
              ak.ImageInput(),
              ak.RegressionHead(),
              directory=tmp_path,
              tuner="unknown",
          )
  
      assert "Expected the tuner argument to be one of" in str(
          info.value
      )
  
imports: from unittest import mock
  import keras_tuner
  import numpy
  import pytest
  import tensorflow
  import autokeras
  from autokeras import test_utils
label_desc: Use image node_id 24 for calling a global function with example usage: test_invalid_tuner_name_error(tmp_path) without return types