Branch: refs/heads/master Home: https://github.com/django/django Commit: a2374bcf476b49441793f1ad213126b07543da54 https://github.com/django/django/commit/a2374bcf476b49441793f1ad213126b07543da54 Author: ersran9 <sreenid...@gmail.com> Date: 2013-09-05 (Thu, 05 Sep 2013)
Changed paths: M django/test/testcases.py Log Message: ----------- Fixed #20918 -- Tidied up implementation of custom assertions 1. Moved common logic between assertContains and assertNotContains into a separate function _assert_contains() 2. Moved common logic between assertTemplateUsed and assertTemplateNotUsed into a separate function _assert_templateused() Thanks Marc Tamlyn for the report and review. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/52288c8a724e6_230e10c5d541000a2%40hookshot-fe1-pe1-prd.aws.github.net.mail. For more options, visit https://groups.google.com/groups/opt_out.