mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #34657 -- Made assert(Not)Contains/assertInHTML display haystacks in error messages.
This commit is contained in:
committed by
Mariusz Felisiak
parent
54d9d26ebf
commit
1dae65dc63
@@ -201,7 +201,10 @@ Templates
|
||||
Tests
|
||||
~~~~~
|
||||
|
||||
* ...
|
||||
* :meth:`~django.test.SimpleTestCase.assertContains`,
|
||||
:meth:`~django.test.SimpleTestCase.assertNotContains`, and
|
||||
:meth:`~django.test.SimpleTestCase.assertInHTML` assertions now add haystacks
|
||||
to assertion error messages.
|
||||
|
||||
URLs
|
||||
~~~~
|
||||
|
||||
Reference in New Issue
Block a user