Github Issue Number Here: #1059
What user problem are we solving?
Currently, we have unit tests in pytest for the core training files. However, to increase test coverage on our backend, we should add unit tests for the Django training endpoints we have in the codebase.
What solution does this PR provide?
Unit tests for the /columns API Route under /api/datasets/default/columns endpoint.
Testing Methodology
Checkout this branch on your local machine and then run cd training && pytest tests/ at the root of the project
Any other considerations
For any utility files that are created for the purpose of being reused across unit tests within training/ please add it under test_utils.py (see example functions I've added)
Unit tests for
/columns
Dataset API EndpointGithub Issue Number Here: #1059 What user problem are we solving? Currently, we have unit tests in
pytest
for the core training files. However, to increase test coverage on our backend, we should add unit tests for the Django training endpoints we have in the codebase.What solution does this PR provide? Unit tests for the
/columns
API Route under/api/datasets/default/columns
endpoint.Testing Methodology Checkout this branch on your local machine and then run
cd training && pytest tests/
at the root of the projectAny other considerations For any utility files that are created for the purpose of being reused across unit tests within
training/
please add it undertest_utils.py
(see example functions I've added)