ecm_prep_web.py and run_web.py database operations not tested
The tests created to test the infrastructure added to Scout to support the web app rely on the populate_tests_schema.py file to copy ECMs and analysis results into the local PostgreSQL database to be tested for content and structure.
These tests do not cover the PostgreSQL database interactions in ecm_prep_web.py and run_web.py. Tests are needed to confirm that these files correctly interact with and populate the database. For verifying correct population of the database, the tests could use local files (e.g., ecm_prep.json and ecm_results.json) as a point of comparison for the database contents. (populate_tests_schema.py does include database instantiation that would be required for testing of ecm_prep_web.py and run_web.py.)