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

The example project for adding tests.

Results 6 guide-to-testing-in-django issues
Sort by recently updated
recently updated
newest added

It says "git co " when it should be "git checkout tags/"

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...

`execute_manager` is deprecated in Django 1.4 and removed in Django 1.6. Hence I'll get this exception in Django 1.6+ ``` Traceback (most recent call last): File "./manage.py", line 2, in...

It would be interesting to create tests in model layer, using fixtures in the case of models containing fields of type ManyToManyField.