

def validate(self, response):
    error = response['error']
    if (error != ''):
        return [faces, 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/VarMisuse@30/34 `error`->`faces`