code: def test_analyze_with_all_actions_as_list():
      img = "dataset/img4.jpg"
      demography_objs = DeepFace.analyze(
          img, actions=["age", "gender", "race", "emotion"], silent=True
      )
  
      for demography in demography_objs:
          logger.debug(f"Demography: {demography}")
          age = demography["age"]
          gender = demography["dominant_gender"]
          race = demography["dominant_race"]
          emotion = demography["dominant_emotion"]
          logger.debug(f"Age: {age}")
          logger.debug(f"Gender: {gender}")
          logger.debug(f"Race: {race}")
          logger.debug(f"Emotion: {emotion}")
          assert demography.get("age") is not None
          assert demography.get("dominant_gender") is not None
          assert demography.get("dominant_race") is not None
          assert demography.get("dominant_emotion") is not None
  
      logger.info("✅ test analyze for all actions as array done")
  
file_path: deepface/tests/test_analyze.py
imports: import cv2
  from deepface import DeepFace
  from deepface.commons.logger import Logger
label_desc: Use image node_id 3 for calling a global function with example usage: test_analyze_with_all_actions_as_list() without return types