code: def test_input_requirement():
      hp = hp_module.HyperParameters()
      with pytest.raises(ValueError, match=r".*must specify.*"):
          hm = aug_module.HyperImageAugment()
  
      hm = aug_module.HyperImageAugment(input_shape=(None, None, 3))
      model = hm.build(hp)
      assert model.built
  
      hm = aug_module.HyperImageAugment(
          input_tensor=keras.Input(shape=(32, 32, 3))
      )
      model = hm.build(hp)
      assert model.built
  
file_path: keras-tuner/keras_tuner/applications/augment_test.py
imports: import numpy
  import pytest
  from keras_tuner.applications import augment
  from keras_tuner.backend import config
  from keras_tuner.backend import keras
  from keras_tuner.engine import hyperparameters
label_desc: Use image node_id 2 for calling a global function with example usage: test_input_requirement() without return types