1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

Fixed #16087 -- Added ResolverMatch instance to test client response.

Thanks mrmachine for the suggestion.
This commit is contained in:
Greg Chapple
2014-06-06 15:49:02 +01:00
committed by Tim Graham
parent 2d425116e2
commit bf743a4d57
5 changed files with 54 additions and 4 deletions

View File

@@ -214,8 +214,11 @@ Tests
* The new :meth:`~django.test.SimpleTestCase.assertJSONNotEqual` assertion
allows you to test that two JSON fragments are not equal.
* Added the ability to preserve the test database by adding the :djadminopt:`--keepdb`
flag.
* Added the ability to preserve the test database by adding the
:djadminopt:`--keepdb` flag.
* Added the :attr:`~django.test.Response.resolver_match` attribute to test
client responses.
Validators
^^^^^^^^^^