mike cullerton
536120febf
Test for updating the master required documents list
2021-05-20 12:19:51 -04:00
mike cullerton
be9484760a
Fixed test.
...
The /user_studies route now returns a 200
2021-05-11 17:00:43 -04:00
mike cullerton
584807bb43
Fixed issue with Study Sponsors.
...
Was using Sponsor IDs that were only available locally.
Now we load test sponsors, and use them.
2021-04-13 12:47:42 -04:00
mike cullerton
feff3f4e6b
Added a big test for deleting a study.
...
We add a study and then add all the different types of information to the study.
We then delete the study and make sure all the associated information is also deleted.
2021-04-13 12:07:34 -04:00
mike cullerton
4e2b79741f
Tests were failing because forms were not sending Q_COMPLETE data.
...
Added mocked Q_COMPLETE data to `add_study` and `test_add_and_edit_study`.
2021-04-06 12:23:13 -04:00
mike cullerton
f4bd576a72
Sample csv file for testing the file upload feature
...
Attempt at testing the file upload feature.
Test fails because SQLite doesn't accept the date as a string. NEED TO FIND A SOLUTION FOR THIS
2021-03-30 11:00:40 -04:00
mike cullerton
5371d204e5
Added db.drop_all() to the tearDownClass class.
...
Now we always start tests with a new DB
I tried to add some tests for form validation, but ran into a problem with the csrf_token.
The tests couldn't find it.
This is not a problem using the form for real.
It would be nice to figure this out.
2021-03-25 13:14:17 -04:00
mike cullerton
467e6200be
fix for user lookup stuff.
...
{{ base_href }} needed quotes around it.
Fixed my test for LDAP search so it doesn't have localhost hardcoded :(
2021-02-23 14:01:19 -05:00
Dan Funk
e24c67f417
Merge branch 'dev' into pb-current-user-studies-only-173
2021-02-23 11:02:22 -05:00
mike cullerton
93b87f806f
Ticket 209
...
Alter Study table so that TITLE can be longer than 80 characters
2021-02-22 12:36:10 -05:00
mike cullerton
9b8fd0af81
Test for some redirects we perform for the new code.
2021-02-19 10:55:44 -05:00
mike cullerton
4e95dd6578
Simple test of the Python part of searching LDAP for users
2021-01-06 11:17:41 -05:00
Aaron Louie
45a99d296d
Adds environment variable option for loading sponsors via Docker. Prevents duplicate sponsors from being loaded.
2020-08-14 09:39:05 -04:00
Aaron Louie
0e4cd7d130
Adds/edits sponsors for a given study.
2020-08-13 15:19:55 -04:00
Aaron Louie
f0e0b7cd68
Fixes root path bug
2020-05-25 11:41:39 -04:00
Aaron Louie
a633cc7c09
Reorganizes files for consistency between repos. Completely refactors Dockerfile to install from wheel.
2020-05-24 18:30:57 -04:00