The Django unit-testing documentation covers much easier ways to do this. For real-world examples, see the unit-test suite in the in-progress rewrite of my user-registration app:
http://bitbucket.org/ubernostrum/django-registration-backends/src/tip/registration/tests.py#cl-315
Comment
404 on that.
Parent comment
The Django unit-testing documentation covers much easier ways to do this. For real-world examples, see the unit-test suite in the in-progress rewrite of my user-registration app: http://bitbucket.org/ubernostrum/django-registration-backends/src/tip/registration/tests.py#cl-315