Branch: refs/heads/master
Home:
https://github.com/django/django
Commit: a2374bcf476b49441793f1ad213126b07543da54
https://github.com/django/django/commit/a2374bcf476b49441793f1ad213126b07543da54
Author: ersran9 <
sreen...@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.