This pull request includes several changes to improve the testing framework and workflow for the access_amherst_backend project. The most important changes include renaming the Django CI workflow, updating the test jobs, adding a new test file for RSS fetching, and configuring pytest for the Django project.
Improvements to CI/CD workflow:
.github/workflows/django.yml: Renamed the workflow to "Django Unit Tests + CI/CD e2e Workflow" and updated the test jobs to include both unit tests using pytest and Django compilation tests. [1][2]
This pull request includes several changes to improve the testing framework and workflow for the
access_amherst_backend
project. The most important changes include renaming the Django CI workflow, updating the test jobs, adding a new test file for RSS fetching, and configuring pytest for the Django project.Improvements to CI/CD workflow:
.github/workflows/django.yml
: Renamed the workflow to "Django Unit Tests + CI/CD e2e Workflow" and updated the test jobs to include both unit tests using pytest and Django compilation tests. [1] [2]Enhancements to testing framework:
access_amherst_backend/access_amherst_tests/test_fetch_rss.py
: Added a new test file for thefetch_rss
function, including mock functions and pytest fixtures to simulate RSS fetching and file handling.access_amherst_backend/pytest.ini
: Added a pytest configuration file to set the Django settings module and specify the test file patterns.