guide-to-testing-in-django icon indicating copy to clipboard operation
guide-to-testing-in-django copied to clipboard

Added django-coverage and updated the form tests to get 100% coverage.

Open epicserve opened this issue 13 years ago • 0 comments

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.

epicserve avatar Sep 25 '12 22:09 epicserve