Ticket #7487: doctest_client_fix.diff

File doctest_client_fix.diff, 474 bytes (added by DanielLindsley, 7 years ago)

Patch For Client

  • django/test/client.py

    diff --git a/django/test/client.py b/django/test/client.py
    index a15876e..41b063d 100644
    a b class Client: 
    144144        Assumes defaults for the query environment, which can be overridden
    145145        using the arguments to the request.
    146146        """
    147 
     147        from django.test import signals
     148       
    148149        environ = {
    149150            'HTTP_COOKIE':      self.cookies,
    150151            'PATH_INFO':         '/',
Back to Top