Codebase list python-castellan / ec40a1f
Mock key manager takes configuration as an arg To make the mock key manager align more with the other key manager back ends, change mock key manager's __init__ to take an arg for the configuration values. Change-Id: I7a327987ebab64b75b348353ef4658a051777d96 Kaitlin Farr 8 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
5252 This key manager is not suitable for use in production deployments.
5353 """
5454
55 def __init__(self):
55 def __init__(self, configuration=None):
56 self.conf = configuration
5657 self.keys = {}
5758
5859 def _generate_hex_key(self, key_length):