示例#1
0
 def setUp(self):
     super(TestAPI, self).setUp()
     self.compute_rpcapi = rpcapi.API()
示例#2
0
 def __init__(self, context):
     self.manager = Manager()
     self.rpcapi = rpcapi.API(context=context)
     self.scheduler_client = scheduler_client.SchedulerClient()
     super(API, self).__init__()