class Container(object): attr = clientmanager.ClientCache(factory) def init_token(self): return
class Container(object): attr = clientmanager.ClientCache(lambda x: object()) def __init__(self): pass
def setUp(self): super(TestClientManager, self).setUp() clientmanager.ClientManager.identity = \ clientmanager.ClientCache(FakeMakeClient)