code: def test_partial_face_locations(self):
      img = api.load_image_file(
          os.path.join(
              os.path.dirname(__file__),
              "test_images",
              "obama_partial_face.jpg",
          )
      )
      detected_faces = api.face_locations(img)
  
      self.assertEqual(len(detected_faces), 1)
      self.assertEqual(detected_faces[0], (142, 191, 365, 0))
  
      img = api.load_image_file(
          os.path.join(
              os.path.dirname(__file__),
              "test_images",
              "obama_partial_face2.jpg",
          )
      )
      detected_faces = api.face_locations(img)
  
      self.assertEqual(len(detected_faces), 1)
      self.assertEqual(detected_faces[0], (142, 551, 409, 349))
  
imports: import unittest
  import os
  import numpy
  from click.testing import CliRunner
  from face_recognition import api
  from face_recognition import face_recognition_cli
  from face_recognition import face_detection_cli
label_desc: Use image node_id 9 for calling the Test_face_recognition obj's underlying member method code with example usage: obj.test_partial_face_locations() without return types