Skip to content

CottageLabs/coarnotifypy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COAR Notify

TODO

Adding a new model

  1. Create a new module for the model in coarnotify.models (for example coarnotify.models.announce_ingest)
  2. Create the new model class in the new module (for example, AnnounceIngest) and implement as needed
  3. Review the validation requirements of the new model and ensure validation is updated (update the model spreadsheet)
  4. Add the new model to coarnotify.models.__init__.py so it can be imported from coarnotify.models
  5. Add the new model to the factory list of models in coarnotify.common.COARNotifyFactory.MODELS
  6. Create a fixture and fixture factory in coarnotify.test.fixtures (for example, coarnotify.test.fixtures.announce_ingest)
  7. Import the new fixture in coarnotify.test.fixtures.__init__.py
  8. Add a unit test for the new model in coarnotify.test.unit.test_models, and confirm it works
  9. Add a unit test for the model factory in coarnotify.test.unit.test_factory, and confirm it works
  10. Add an integration test for the new model in coarnotify.test.integration.test_client, and confirm it works

About

COAR Notify Python Common Library implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages