cr-connect-workflow/tests/scripts
Dan 5e54c90b47 "Reset" should not mean "re-start". Calling the reset_workflow script will now set the workflow to an "unstarted" state with no outstanding tasks, no json-state structure stored. The workflow is not yet running.
Also:
* Assured that arguments are consistent (we always seem to use workflow_spec_id, so I made sure we use that consistently.
* Don't require named parameters - so it's cool to call it like: reset_workflow('my_workflow_id')
* Task Actions (ie create, assign, etc...) are now an enumeration in the models, and not static variables on Workflow Service, so we can reference them consistently from anywhere.
* Removed some repetitive code
* Always try to validate as much as possible in the scripts to save folks time debugging.
*
2022-04-15 15:36:23 -04:00
..
__init__.py
test_check_study.py Refactor the workflow_spec_service so it doesn't cache anything, it always reads what it needs from the file system. 2022-02-09 21:06:55 -05:00
test_get_email_data.py death to load_example_data() !!!!! 2022-02-09 22:13:02 -05:00
test_get_enum_label.py death to load_example_data() !!!!! 2022-02-09 22:13:02 -05:00
test_get_localtime.py really need to avoid any kind of caching in the WorkflowSpecService 2022-02-09 13:37:57 -05:00
test_get_spec_from_id.py Test for new script 2022-02-16 15:54:56 -05:00
test_get_spec_from_workflow_id.py Test for new script 2022-01-24 12:41:08 -05:00
test_get_study_associate_validation.py Refactor the workflow_spec_service so it doesn't cache anything, it always reads what it needs from the file system. 2022-02-09 21:06:55 -05:00
test_get_study_associates_validation.py Tests for using study in get_study_associates 2022-03-04 16:28:42 -05:00
test_get_study_progress_status.py Tests and workflow for the changes 2021-12-10 16:18:05 -05:00
test_get_study_status.py
test_get_workflow_status.py Fix test to use workflow_spec_id 2022-03-09 11:15:20 -05:00
test_get_zipped_file_script.py Test for new feature 2022-03-28 11:59:53 -04:00
test_modify_spreadsheet.py We now raise an error if the spreadsheet does not exist. 2022-02-24 10:25:34 -05:00
test_set_study_associate.py Assure we can associate the same person with a workflow under two different roles. 2022-04-04 16:01:48 -04:00
test_set_study_progress_status.py death to load_example_data() !!!!! 2022-02-09 22:13:02 -05:00
test_set_study_status.py Test for set_study_status script 2022-03-03 11:11:54 -05:00
test_start_workflow.py "Reset" should not mean "re-start". Calling the reset_workflow script will now set the workflow to an "unstarted" state with no outstanding tasks, no json-state structure stored. The workflow is not yet running. 2022-04-15 15:36:23 -04:00
test_task_logging.py assert we get category and workflow in all the places 2022-03-14 12:02:11 -04:00