Opened 8 years ago

Last modified 8 years ago

#27112 closed New feature

django.test.client.Client doesn't support timeouts — at Version 1

Reported by: roboslone Owned by: nobody
Component: Testing framework Version: 1.10
Severity: Normal Keywords: testing, timeout
Cc: me@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by roboslone)

I'm trying to test my middleware for replay processing (same request was issued twice, because first attempt failed due to client timeout). I need some control over timeouts in django.test.client.Client. Would it be possible to implement requests-like (http://docs.python-requests.org/en/master/user/advanced/#timeouts) kwarg for timeout?

Change History (1)

comment:1 by roboslone, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top