cr-connect-workflow/tests
Dan Funk d39ef658a2 Made some modifications to the Approval so that it knows exactly what versions of every file are being sent for approval
Added the following columns:
  * date_created - so we know when the file was created
  * renamed workflow_version to just "version", because everything has a version,  this is the version of the request.
  * workflow_hash - this is just a quick way to see what files and versions are associated with the request, it could be factored out.
  * study - a quick relationship link to the study, so that this model is easier to use.
  * workflow - ditto
  * approval_files - these is a list from a new link table that links an approval to specific files and versions.

The RequestApproval is logically sound, but still needs some additional pieces in place to be callable from a BPMN workflow diagram.

Altered the file service to pick up on changes to files vs adding new files, so that versions are picked up correctly as
users modify their submission - adding new files or replacing existing ones.  Deleting files worries me, and I will need to revisit this.

The damn base test keeps giving me a headache, so I made changes there to see if clearing and dropping the database each time won't allow the tests to pass more consistently.

Lots more tests around the file service to make sure it is versioning user uploaded files correctly.

The "Test Request Approval Script" tries to find to assure the correct behavior as this is likely to be called many times repeatedly and with little knowledge of the internal system.  So it should just "do the right thing".
2020-05-23 15:08:17 -04:00
..
data forgot to include the new empty master workflow, which allows the tests to all pass. 2020-05-22 15:31:38 -04: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 Made some modifications to the Approval so that it knows exactly what versions of every file are being sent for approval 2020-05-23 15:08:17 -04:00
test_approvals.py Building out the boilerplate code to make pushing forward on this a little friendlier. 2020-05-22 18:25:00 -04:00
test_authentication.py dropping the remaining config stuff for flask_sso. 2020-05-22 09:50:18 -04:00
test_complete_template_script.py Assure that new lines entered in text-fields are correctly added to the final word document. 2020-05-18 11:55:10 -04:00
test_file_service.py Made some modifications to the Approval so that it knows exactly what versions of every file are being sent for approval 2020-05-23 15:08:17 -04:00
test_files_api.py Adding a new reference file that provides greater details about the investigators related to a study. 2020-05-07 13:57:24 -04:00
test_ldap_service.py dropping the remaining config stuff for flask_sso. 2020-05-22 09:50:18 -04:00
test_lookup_service.py ldap lookup. 2020-05-19 16:11:43 -04:00
test_protocol_builder.py Allow disabling the Protocol Builder 2020-05-22 14:37:49 -04:00
test_request_approval_script.py Made some modifications to the Approval so that it knows exactly what versions of every file are being sent for approval 2020-05-23 15:08:17 -04:00
test_study_api.py Allow disabling the Protocol Builder 2020-05-22 14:37:49 -04:00
test_study_details_documents.py Adding a new reference file that provides greater details about the investigators related to a study. 2020-05-07 13:57:24 -04:00
test_study_service.py Adding a new reference file that provides greater details about the investigators related to a study. 2020-05-07 13:57:24 -04:00
test_tasks_api.py Allow disabling the Protocol Builder 2020-05-22 14:37:49 -04:00
test_tools_api.py On the tools/render_docx api, allow sending the json data in the body, rather than as a ludicrous long get parameter. Silly Dan. 2020-05-22 15:30:22 -04:00
test_workflow_processor.py Updated to use the latest script engine / evaluation engine that creates a single location where all values used in BPMN/DMN are processed. Right now this is a python based interpreter, but we will eventually base this on FEEL expressions. 2020-05-11 17:04:05 -04:00
test_workflow_processor_multi_instance.py the heck with camel case, what the heck TypeScript? Get a grip. This is a python API. 2020-05-15 16:38:37 -04:00
test_workflow_service.py ldap lookup. 2020-05-19 16:11:43 -04:00
test_workflow_spec_api.py If you name add a file to a workflow that has the exact same name as a Task Spec's ID, and an extension of "md", it wll use that file as the markdown content, and ignore the markdown in the documentation on the task spec. 2020-04-17 13:30:32 -04:00
test_workflow_spec_validation_api.py Allow disabling the Protocol Builder 2020-05-22 14:37:49 -04:00