The docs 
(http://www.django-rest-framework.org/api-guide/testing/#live-tests) state 
that the RequestsClient makes it possible to run a test case against a live 
server, but I can't see any explicit instructions for how to achieve this.

The RequestsClient mounts a DjangoTestAdapter which just sends the requests 
directly to the local wsgi app, and I can't see any way to override that 
behaviour. Is the expected way of achieving this just to swap out the 
RequestsClient for a normal requests Session if you're in live test mode?

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to