Skip to content

Added Tests

MariaV requested to merge finish_tests into master

Added tests for forms, get vs post requests, etc. At current, per python coverage, total testing coverage is 94 percent, although this includes a number of files that do not require python coverage (e.g. manage.py.)

All lines of admin.py, forms.py, models.py, and views.py are tested, with the exception of those lines that would write a ticket or note to gitlab in a gitlab call or that require a gitlab exception (that should be impossible given the way projects are saved; e.g., projects overwrite their info from gitlab on save and therefore should not throw a gitlab get exception later.)

Updated pretty date_time filter to display correct month (whoops) and wrote tests for each month to ensure that all months display correctly.

Merge request reports