Chemical-Curation / chemcurator_django

Backend services for chemical curation
https://api.chemreg.epa.gov
MIT License
1 stars 0 forks source link

145 substance synonym validation #223

Closed debboutr closed 3 years ago

debboutr commented 3 years ago

flake8 is updated in this branch so be sure to pip install -r requirements.txt

Check here for indexing discussion.

I've found that some of the test in test_views can be achieved in test _serializers w/o needing a admin_user or the client.

I added 2 new models.QuerySet classes for the lookups on unique fields, these could be moved into models.Mangers and put into a managers.py file?

Be thorough on checking the tests with this one as there may be duplicates!