TODO
- Create a new module for the model in
coarnotify.models
(for examplecoarnotify.models.announce_ingest
) - Create the new model class in the new module (for example,
AnnounceIngest
) and implement as needed - Review the validation requirements of the new model and ensure validation is updated (update the model spreadsheet)
- Add the new model to
coarnotify.models.__init__.py
so it can be imported fromcoarnotify.models
- Add the new model to the factory list of models in
coarnotify.common.COARNotifyFactory.MODELS
- Create a fixture and fixture factory in
coarnotify.test.fixtures
(for example,coarnotify.test.fixtures.announce_ingest
) - Import the new fixture in
coarnotify.test.fixtures.__init__.py
- Add a unit test for the new model in
coarnotify.test.unit.test_models
, and confirm it works - Add a unit test for the model factory in
coarnotify.test.unit.test_factory
, and confirm it works - Add an integration test for the new model in
coarnotify.test.integration.test_client
, and confirm it works