guide-to-testing-in-django
guide-to-testing-in-django copied to clipboard
Added django-coverage and updated the form tests to get 100% coverage.
The ValidationError was never getting raised in the form save method because when you run is_valid() it creates the cleaned_data attribute. I modified the form and for form tests to account for this. Now there is 100% coverage.