def setUp(self):
     self.middleware = middleware.NormalizingFilter(FakeApp())
     self.response_status = None
     self.response_headers = None
     super(UrlMiddlewareTest, self).setUp()
Esempio n. 2
0
 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()