class Container(object):

    attr = clientmanager.ClientCache(factory)

    def init_token(self):
        return
예제 #2
0
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)