From 6e63ecb33fab0aaad5c02996f83048c2041968d1 Mon Sep 17 00:00:00 2001 From: Jamie Lennox Date: Thu, 27 Feb 2014 15:29:25 +1000 Subject: [PATCH] Remove http_handler config option in auth_token This option was predominately used so that we could substitute a fake handler in place so that we could mock our HTTP calls. This has been replaced for some time now with httpretty so is no longer necessary. Change-Id: I8613f4e189ee977f17b9606547840d5e7847d77a --- keystoneclient/middleware/auth_token.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/keystoneclient/middleware/auth_token.py b/keystoneclient/middleware/auth_token.py index a6360d878..0c7c00dd0 100644 --- a/keystoneclient/middleware/auth_token.py +++ b/keystoneclient/middleware/auth_token.py @@ -233,12 +233,6 @@ opts = [ default=3, help='How many times are we trying to reconnect when' ' communicating with Identity API Server.'), - cfg.StrOpt('http_handler', - default=None, - help='Allows to pass in the name of a fake http_handler' - ' callback function used instead of httplib.HTTPConnection or' - ' httplib.HTTPSConnection. Useful for unit testing where' - ' network is not available.'), cfg.StrOpt('admin_token', secret=True, help='Single shared secret with the Keystone configuration'