Dan Funk
dd33936dcf
Merge pull request #530 from sartography/bug/complete-template-issue-730
...
Bug/complete template issue #730
2022-05-04 10:21:03 -04:00
mike cullerton
7e480fc24b
Cleaned up tests around adding a file
2022-04-29 11:34:05 -04:00
mike cullerton
ca1c60488e
Add test for name
in the get_email_data script
2022-04-28 15:37:01 -04:00
mike cullerton
608e3c653c
Assert that we return name
in the EmailModelSchema
2022-04-28 15:19:04 -04:00
mike cullerton
8f2aea3922
Test that ProgressStatus is set to finance_in_progress
when StudyStatus is set to open_for_enrollment
2022-04-26 15:30:56 -04:00
mike cullerton
c42fdb8d6f
Modify test to include name. Assert name is in the table
2022-04-25 15:42:17 -04:00
mike cullerton
97323279cf
Merge branch 'dev' into email-name-parameter-726
2022-04-25 15:01:06 -04:00
Dan
85d11d913f
Merge branch 'dev' into feature/new_spiff_serializer
2022-04-20 10:59:58 -04:00
mike cullerton
fbe9f5a17b
DocumentModel => FileModel
...
document_id => file_id
clean up imports
2022-04-19 15:07:05 -04:00
mike cullerton
ae2cb80d33
FileModelSchema requires irb_doc_code now, so we can't use it here
2022-04-19 15:04:42 -04:00
mike cullerton
08e9628350
Fix test for get_zipped_files script
2022-04-19 11:37:08 -04:00
mike cullerton
fb5731ff23
Merge branch 'dev' into file-refactor-705
...
# Conflicts:
# crc/scripts/delete_task_data.py
# crc/services/workflow_processor.py
# tests/base_test.py
# tests/files/test_delete_task_data.py
2022-04-19 08:19:52 -04:00
mike cullerton
87b1e0d2c8
Fixes for tests
2022-04-19 07:51:29 -04:00
mike cullerton
8f199e2942
file_id => document_id
2022-04-18 16:41:03 -04:00
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
mike cullerton
5dc88c2d03
form_field_key => irb_doc_code
2022-04-15 11:46:55 -04:00
mike cullerton
ba24fba67e
Remove print statement
2022-04-15 11:46:26 -04:00
Dan
e68c95f03c
New serialization code, with the ability to load from the old serlializer if needed.
...
pipenv insisted on updating some other libraries so slight modifications for markupsafe.
2022-04-15 10:26:23 -04:00
mike cullerton
ba2eef0ec9
Fixing failing tests
2022-04-14 18:07:23 -04:00
mike cullerton
70beba164b
Merge branch 'dev' into file-refactor-705
2022-04-14 16:11:53 -04:00
mike cullerton
ae67c8985a
forgot the workflow
2022-04-14 15:50:12 -04:00
mike cullerton
a21aea3348
Fixed a bug where we tried to delete a record that did not exist
2022-04-14 15:37:05 -04:00
mike cullerton
43458951df
Adding the new required fields
2022-04-14 15:13:09 -04:00
mike cullerton
b304b4725b
Merge branch 'dev' into file-refactor-705
2022-04-14 11:40:08 -04:00
mike cullerton
6c1fcc5cee
Make sure we don't delete records when value is set to False
2022-04-13 18:10:35 -04:00
mike cullerton
ea657cbbc2
Change value from string 'None' to value None to test deleting data_stores.
...
This as a work around, because the form field is set to string for other uses
2022-04-13 18:09:18 -04:00
mike cullerton
19da7ecd7e
Fix test workflows to use new data_store scripts
2022-04-13 18:07:13 -04:00
mike cullerton
e87fae0004
*** WIP ***
...
Modify delete test to check for both None and empty string
2022-04-13 13:52:20 -04:00
mike cullerton
721907bf52
Modify test workflow to use new data_store_set script instead of separate study_data_set, user_data_set, and file_data_set scripts
2022-04-13 13:51:25 -04:00
mike cullerton
d79c8a4071
form_field_key => irb_doc_code
2022-04-13 08:32:29 -04:00
mike cullerton
d5ed949ed6
FileModel => DocumentModel
...
Remove unused imports
2022-04-13 08:31:18 -04:00
mike cullerton
74bfaaaf57
Remove unused imports
2022-04-13 08:22:30 -04:00
mike cullerton
b732fee675
Merge branch 'dev' into file-refactor-705
2022-04-12 14:01:49 -04:00
mike cullerton
e46a855eae
FileModel => DocumentModel
2022-04-12 14:01:00 -04:00
mike cullerton
aaca206465
Remove unused import
2022-04-12 14:00:08 -04:00
Dan Funk
bf898993c4
Merge pull request #514 from sartography/get-irb-info-issue-702
...
Get irb info issue #702
2022-04-12 08:14:14 -04:00
mike cullerton
138dfc220d
Tests expect 1 record now
...
Add test for error state when study is not yet uploaded
2022-04-07 14:40:47 -04:00
mike cullerton
ed49ebcc23
Fix mock data to only return 1 record
...
Add mock record for error state when study is not yet uploaded
2022-04-07 14:39:39 -04:00
mike cullerton
da7c0a50ae
Workflows for new tests
2022-04-05 18:17:54 -04:00
mike cullerton
946e74118f
Test updating records
...
Test deleting records when setting with empty value
Test deleting 'extra' records
2022-04-05 18:17:31 -04:00
mike cullerton
3c418f7611
Rename workflow/test_workflow_data_store_validation to test_data_store_service
2022-04-05 11:35:41 -04:00
Dan Funk
6694dc6cb3
Merge pull request #510 from sartography/git-error-filenotfound-690
...
Git error filenotfound #690
2022-04-04 16:53:36 -04:00
Dan Funk
095105e3e6
Merge pull request #508 from sartography/validation-with-data-store-396
...
Validation with data store #396
2022-04-04 16:51:57 -04:00
Dan
e1f9dcded5
Assure we can associate the same person with a workflow under two different roles.
2022-04-04 16:01:48 -04:00
mike cullerton
51c6871d06
Update mock data to use new valid review type
2022-03-30 10:30:27 -04:00
mike cullerton
70e8f6b35e
Fix typo in test: delete -> remove
2022-03-29 12:34:05 -04:00
mike cullerton
689aa54d50
Modified tests to work with the bug fix
2022-03-29 09:49:29 -04:00
Mike Cullerton
9ec1514267
Merge pull request #509 from sartography/chore/zip-file-update-688
...
Chore/zip file update #688
2022-03-29 09:41:32 -04:00
Mike Cullerton
6ff0cdbb9d
Merge pull request #507 from sartography/bug/validating_data_security
...
Bug/validating data security #684
2022-03-29 09:41:02 -04:00
mike cullerton
ee3217de62
Test for new feature
2022-03-28 11:59:53 -04:00