unitxt.test_utils.operators module

unitxt.test_utils.operators.apply_operator(operator: StreamingOperator, inputs: List[dict], return_multi_stream=False, return_stream=False)[source]
unitxt.test_utils.operators.check_operator(operator: StreamingOperator, inputs: List[dict], targets: List[dict], tester=None, sort_outputs_by=None)[source]
unitxt.test_utils.operators.check_operator_exception(operator: StreamingOperator, inputs: List[dict], exception_texts, tester=None)[source]