#36859: SimpleTestCase.assertContains can't be called multiple times on a
streaming
response
-------------------------------------+-------------------------------------
Reporter: Baptiste Mispelon | Owner: Baptiste
| Mispelon
Type: Bug | Status: assigned
Component: Testing framework | Version: 6.0
Severity: Normal | Resolution:
Keywords: assertContains, | Triage Stage: Accepted
streaming |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Natalia Bidart):
* cc: Carlton Gibson (added)
* stage: Unreviewed => Accepted
* type: New feature => Bug
Comment:
Thank you Baptiste, I think it makes sense to expect multiple calls of
`assertContains` to work on a streamed response.
--
Ticket URL: <https://code.djangoproject.com/ticket/36859#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
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 [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019bbd0b9c45-9c73ba82-f634-4663-ae15-118716fcfb97-000000%40eu-central-1.amazonses.com.