def test_ground_truth(self):
    mock_client = MagicMock()
    mock_args = self.parser.parse_args(required_args)
    response = _utils.create_labeling_job(mock_client, vars(mock_args))
    mock_client.create_labeling_job.assert_called_once_with(HumanTaskConfig={'WorkteamArn': None, 'UiConfig': {'UiTemplateS3Uri': 's3://fake-bucket/ui_template'}, 'PreHumanTaskLambdaArn': '', 'TaskTitle': 'fake-image-labelling-work', 'TaskDescription': 'fake job', 'NumberOfHumanWorkersPerDataObject': 1, 'TaskTimeLimitInSeconds': 180, 'AnnotationConsolidationConfig': {'AnnotationConsolidationLambdaArn': ''}}, InputConfig={'DataSource': {'S3DataSource': {'ManifestS3Uri': 's3://fake-bucket/manifest'}}}, LabelAttributeName='test_job', LabelingJobName='test_job', OutputConfig={'S3OutputPath': 's3://fake-bucket/output', 'KmsKeyId': ''}, RoleArn='arn:aws:iam::123456789012:user/Development/product_1234/*', Tags=[])
    self.assertEqual(response, 'test_job')
def test_ground_truth(self):
    mock_client = MagicMock()
    mock_args = self.parser.parse_args(required_args)
    response = _utils.create_labeling_job(mock_client, vars(mock_args))
    mock_client.create_labeling_job.assert_called_once_with(HumanTaskConfig={'WorkteamArn': None, 'UiConfig': {'UiTemplateS3Uri': 's3://fake-bucket/ui_template'}, 'PreHumanTaskLambdaArn': , 'TaskTitle': 'fake-image-labelling-work', 'TaskDescription': 'fake job', 'NumberOfHumanWorkersPerDataObject': 1, 'TaskTimeLimitInSeconds': 180, 'AnnotationConsolidationConfig': {'AnnotationConsolidationLambdaArn': }}, InputConfig={'DataSource': {'S3DataSource': {'ManifestS3Uri': 's3://fake-bucket/manifest'}}}, LabelAttributeName='test_job', LabelingJobName='test_job', OutputConfig={'S3OutputPath': 's3://fake-bucket/output', 'KmsKeyId': }, RoleArn='arn:aws:iam::123456789012:user/Development/product_1234/*', Tags=[])
    self.assertEqual(response, 'test_job')