def setUp(self): self.middleware = middleware.NormalizingFilter(FakeApp()) self.response_status = None self.response_headers = None super(UrlMiddlewareTest, self).setUp()
def setUp(self): self.middleware = middleware.NormalizingFilter(FakeApp()) self.middleware.http_client_class = test_atm.FakeHTTPConnection self.response_status = None self.response_headers = None super(UrlMiddlewareTest, self).setUp()