def METHOD_NAME(self, requests):
    responses = []
    for _ in requests:
        # Run the unittest and store the results in InferenceResponse.
        test = unittest.main("model", exit=False)
        responses.append(
            pb_utils.InferenceResponse(
                [
                    pb_utils.Tensor(
                        "OUTPUT0",
                        np.array([test.result.wasSuccessful()], dtype=np.float16),
                    )
                ]
            )
        )
    return responses