code: def test_enabled_enforce_detection_for_non_facial_input():
      black_img = np.zeros([224, 224, 3])
  
      with pytest.raises(
          ValueError, match="Face could not be detected."
      ):
          DeepFace.represent(img_path=black_img)
  
      with pytest.raises(
          ValueError, match="Face could not be detected."
      ):
          DeepFace.verify(img1_path=black_img, img2_path=black_img)
  
      logger.info(
          "✅ enabled enforce detection with non facial input tests done"
      )
  
imports: import pytest
  import numpy
  from deepface import DeepFace
  from deepface.commons.logger import Logger
label_desc: Use image node_id 1 for calling a global function with example usage: test_enabled_enforce_detection_for_non_facial_input() without return types