Have you tried writing your own subclass of the test client (or writing a patch for Django's own test client) so we can see what it looks like?
(I suggested writing to the mailing list to get other feedback because I'm not sure if this is a good idea or even feasible.) On Tuesday, August 23, 2016 at 12:59:40 PM UTC-4, Александр Христюхин wrote: > > Hi! > > I'm trying to simulate timeouts on client to test my app's behaviour with > requests, that take too much time. I want to use Django's test client for > that and supply timeout arg for each request (like in requests > <http://docs.python-requests.org/en/master/user/advanced/#timeouts>), > but django.test.client.Client doesn't support timeouts. > > Here's a ticket about that: https://code.djangoproject.com/ticket/27112 > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/eff2a5a0-11b4-4363-a26e-aa083dbcc844%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
