Skip to content

Added testdata.py to programatically add entities to the DB for testing

Matthew F Harrison requested to merge test_data_poc into main

TestDataGenerator.make_data() populates the database with a Solicitation, Proposal, and AllocationRequest along with the entities necessary to create them . The type and id of each created entity is stored in TestDataGenerator.ids. TestDataGenerator.cleanup() will delete all the objects it created from the DB.

Merge request reports

Loading