BCStudentSoftwareDevTeam / celts

Web app to support the CELTS program at Berea College
BSD 3-Clause "New" or "Revised" License
1 stars 8 forks source link

Generalized spreadsheet.py and refactored test_spreadsheet.py #1300

Closed WackyWeaver closed 4 months ago

WackyWeaver commented 4 months ago

Some of the functionality of spreadsheet.py did not specify a specific year. Many of the peewee queries did not filter for academic year. We joined all necessary tables to allow spreadsheets to return data for a specified academic year.

Refactored the 14 spreadsheet.py unit tests to include fixtures independent from test data. Removed unnecessary rows in test objects within the test functions. simplified asserted functions and created a much more

Resolves #1289

github-actions[bot] commented 4 months ago

View Code Coverage