def test_get_labeling_job_output_from_job(self):
    mock_client = MagicMock()
    mock_client.describe_labeling_job.return_value = {'LabelingJobOutput': {'OutputDatasetS3Uri': 's3://path/', 'FinalActiveLearningModelArn': 'fake-arn'}}
    (output_manifest, active_learning_model_arn) = _utils.get_labeling_job_outputs(mock_client, 'labeling-job', True)
    self.assertEqual(output_manifest, 's3://path/')
    self.assertEqual(active_learning_model_arn, 'fake-arn')
def test_get_labeling_job_output_from_job(self):
    mock_client = MagicMock()
    mock_client.describe_labeling_job.return_value = {'LabelingJobOutput': {'OutputDatasetS3Uri': 's3://path/', 'FinalActiveLearningModelArn': 'fake-arn'}}
    (output_manifest, active_learning_model_arn) = _utils.get_labeling_job_outputs(mock_client, 'labeling-job', True)
    self.assertEqual(output_manifest, 's3://path/')
    self.assertEqual(active_learning_model_arn, 'fake-arn')