def validate(self, response):
    error = response['error']
    if error != "":
      return [error, self.elapsed_time]

    faces = response['faces']
    if self.valid_faces == faces:
      return [True, self.elapsed_time]
    else:
      return ["Unexpected result : " + str(response), self.elapsed_time]
dataset/ETHPy150Open rapp-project/rapp-platform/rapp_testing_tools/scripts/default_tests/face_detection_test_far_straight.py/RappInterfaceTest.validate/original