code: def test_disabled_enforce_detection_for_non_facial_input_on_represent():
      black_img = np.zeros([224, 224, 3])
      objs = DeepFace.represent(
          img_path=black_img, enforce_detection=False
      )
  
      assert isinstance(objs, list)
      assert len(objs) > 0
      assert isinstance(objs[0], dict)
      assert "embedding" in objs[0].keys()
      assert "facial_area" in objs[0].keys()
      assert isinstance(objs[0]["facial_area"], dict)
      assert "x" in objs[0]["facial_area"].keys()
      assert "y" in objs[0]["facial_area"].keys()
      assert "w" in objs[0]["facial_area"].keys()
      assert "h" in objs[0]["facial_area"].keys()
      assert isinstance(objs[0]["embedding"], list)
      assert len(objs[0]["embedding"]) == 4096  # embedding of VGG-Face
  
      logger.info(
          "✅ disabled enforce detection with non facial input test for represent tests done"
      )
  
imports: import pytest
  import numpy
  from deepface import DeepFace
  from deepface.commons.logger import Logger
label_desc: Use image node_id 2 for calling a global function with example usage: test_disabled_enforce_detection_for_non_facial_input_on_represent() without return types