#34342: The test async_client is not consuming async StreamingResponse 
generators
properly
-----------------------------------+--------------------------------------
     Reporter:  Alexandre Spaeth   |                    Owner:  nobody
         Type:  Bug                |                   Status:  new
    Component:  Testing framework  |                  Version:  4.2
     Severity:  Normal             |               Resolution:
     Keywords:  async              |             Triage Stage:  Unreviewed
    Has patch:  0                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+--------------------------------------

Comment (by Alexandre Spaeth):

 I pushed my observations I tiny bit further and I think something as
 simple as this is a proper fix for the issue:
 
https://github.com/Alexerson/django/commit/0f5439d158278393584904f4a88846dae27dad92

 Also, I confirm the issue for assertContains, but it could be harder to
 fix, because we will need an async version of assertContains just for
 this, and this is probably overkill. In a case like that, some
 documentations might be enough to solve the issue.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34342#comment:1>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701865778bbc4-3783ec1d-110b-487d-95d0-ec0acd8cdba0-000000%40eu-central-1.amazonses.com.

Reply via email to