'setUp() for WsgiLimiterProxyTest.
Do some nifty HTTP/WSGI magic which allows for WSGI to be called
directly by something like the `http_client` library.'

def setUp(self):

    super(WsgiLimiterProxyTest, self).setUp()
    self.app = limits.WsgiLimiter(TEST_LIMITS)
    oldHTTPConnection = wire_HTTPConnection_to_WSGI('169.254.0.1:80', self.app)
    self.proxy = limits.WsgiLimiterProxy('169.254.0.1:80')
    self.addCleanup(self._restore, oldHTTPConnection)
