fixed process_model_identifier in script_unit_test_create

This commit is contained in:
mike cullerton 2022-11-07 10:33:24 -05:00
parent d6ad90ac15
commit e8785c2f69
1 changed files with 2 additions and 1 deletions

View File

@ -1153,7 +1153,8 @@ def script_unit_test_create(
"expected_output_json", body "expected_output_json", body
) )
process_model = get_process_model(process_model_id, process_group_id) process_model_identifier = f"{process_group_id}/{process_model_id}"
process_model = get_process_model(process_model_identifier)
file = SpecFileService.get_files(process_model, process_model.primary_file_name)[0] file = SpecFileService.get_files(process_model, process_model.primary_file_name)[0]
if file is None: if file is None:
raise ApiError( raise ApiError(