def setUp(self): super(HttpRequestHandlerTest, self).setUp() self.config_overrider = test_lib.ConfigOverrider( {"API.DefaultRouter": TestHttpApiRouter.__name__}) self.config_overrider.Start() self.request_handler = http_api.HttpRequestHandler()
def setUp(self): super(HttpRequestHandlerTest, self).setUp() self.config_overrider = test_lib.ConfigOverrider( {"API.DefaultRouter": TestHttpApiRouter.__name__}) self.config_overrider.Start() # Make sure ApiAuthManager is initialized with this configuration setting. api_auth_manager.APIACLInit.InitApiAuthManager() self.request_handler = http_api.HttpRequestHandler()