diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/6.1.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/releases/6.1.txt b/docs/releases/6.1.txt index 6b18331a1b..1bd4f091aa 100644 --- a/docs/releases/6.1.txt +++ b/docs/releases/6.1.txt @@ -355,7 +355,11 @@ Templates Tests ~~~~~ -* ... +* :meth:`~django.test.SimpleTestCase.assertContains` and + :meth:`~django.test.SimpleTestCase.assertNotContains` can now be called + multiple times on the same :class:`~django.http.StreamingHttpResponse`. + Previously, they would consume the streaming response's content, causing + subsequent calls to fail. URLs ~~~~ |
