Opened 8 years ago

Last modified 8 years ago

#27112 closed New feature

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

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

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. Is it possible to implement requests-like (http://docs.python-requests.org/en/master/user/advanced/#timeouts) kwarg for timeout?

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top