Improved testing to match discussion with @yevgenybulochnik on PR #21. Additionally, added JSON structure of 100 SPL scrapes. Separated testing db and api files.
Rationale
Discussion with team members on ability to improve logic and readability of testing.
Tests
What testing did you do?
flake8python manage.py test
Testing pipeline
Fixes coderxio/dailymed-api#
Explanation
Improved testing to match discussion with @yevgenybulochnik on PR #21. Additionally, added JSON structure of 100 SPL scrapes. Separated testing db and api files.
Rationale
Discussion with team members on ability to improve logic and readability of testing.
Tests
flake8
python manage.py test
Testing pipeline