cr-connect-workflow/tests
mike cullerton 7e76639cf3 When a study is put on hold, we now reset workflows and call any pending cancel_notify events.
In api.study.update_study we test the study status and call the new WorkflowService method process_workflows_for_cancels.
In services.workflow_service we added the new method process_workflows_for_cancels. It loops through workflows for a study, and resets them if they are in progress.
In services.workflow_processor, we changed the reset method to be an instance method so we can call self.cancel_notify.
In tests.test_lookup_service we changed the call to WorkflowProcessor.reset to reflect the change from class method to instance method
2021-01-29 14:05:07 -05:00
..
approval Some minor cleanup on the study status and automatic events. I wanted to avoid having one database model automatically generating other database models as a side effect. The study service now has full responsiblity to recording study events. 2020-08-17 14:56:00 -04:00
data Merge pull request #226 from sartography/enum_default_value_expression_162 2021-01-27 10:43:46 -05:00
emails Fixing the email script test. 2020-12-14 10:29:53 -05:00
files Validation now assures that we won't encounter errors when generating navigation lists. 2020-12-28 17:33:38 -05:00
ldap Don't raise an error when validating workflows that use the ldap script. 2020-08-17 15:45:37 -04:00
study Modified the test to cover hold, abandon, and open_enrollment. These are tickets 21 and 94 2020-12-31 10:40:27 -05:00
workflow Merge pull request #226 from sartography/enum_default_value_expression_162 2021-01-27 10:43:46 -05:00
__init__.py Lots and lots of random stuff as I organize code and get things to make sense. 2019-12-18 14:02:17 -05:00
base_test.py Merge branch 'dev' into 152-workflow-spec-pull 2021-01-21 12:30:43 -05:00
test_authentication.py Fixing a failing test and updating the personnel. 2020-09-02 08:24:48 -04:00
test_complete_template_script.py Removing deprecation warnings 2020-06-05 12:08:46 -06:00
test_datastore_api.py drop some of the test-only api endpints and rework the tests so they aren't needed 2020-11-18 15:04:36 -05:00
test_email_script.py Cleanup from test email script changes. Removed commented piece of code containing my private email address. 2020-12-28 18:05:47 -05:00
test_events.py Expanding the task events endpoint to accept workflow and study ids as additional filters. 2020-07-28 10:16:48 -04:00
test_is_file_uploaded_script.py Ticket 143. Test whether file is uploaded. 2021-01-04 10:53:21 -05:00
test_ldap_service.py Adding proper tests for files publishing 2020-07-17 16:59:25 -06:00
test_lookup_service.py When a study is put on hold, we now reset workflows and call any pending cancel_notify events. 2021-01-29 14:05:07 -05:00
test_looping_task.py Injects current user into task data. 2020-08-21 13:34:37 -04:00
test_message_event.py Committing a merge from dev 2020-11-18 15:33:44 -05:00
test_protocol_builder.py Adds unit test for ProtocolBuilderService.get_sponsors 2020-08-25 11:08:13 -04:00
test_tasks_api.py Removed two tests around soft_reset that are no longer required. 2021-01-20 13:24:53 -05:00
test_tools_api.py Adds a test for string manipulation 2020-08-21 13:46:10 -04:00
test_user_in_logs.py Tests for uid in logs. Currently we test for uid in a response. This covers ApiError. 2020-12-11 17:47:53 -05:00
test_user_roles.py Fixed hard_reset test. We now call restart_workflow_api. 2021-01-19 15:32:38 -05:00
test_verify_end_event.py Ticket #105. Verify End Event Documentation. Added explicit call to _process_documentation at end of crc.services.workflow_service.test_spec for the end event 2020-11-24 16:51:18 -05:00
test_workflow_sync.py Merge branch 'dev' into 152-workflow-spec-pull 2021-01-21 12:30:43 -05:00