code: def test_auto_model_project_name_field_as_specified(tmp_path):
      auto_model = ak.AutoModel(
          ak.ImageInput(),
          ak.RegressionHead(),
          directory=tmp_path,
          project_name="auto_model",
      )
  
      assert auto_model.project_name == "auto_model"
  
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 5 for calling a global function with example usage: test_auto_model_project_name_field_as_specified(tmp_path) without return types