def setUp(self): super(ComputeAPIUnitTest, self).setUp() self.user_id = 'fake-user' self.project_id = 'fake-project' self.engine_api = engine_api.API() self.context = context.RequestContext(user=self.user_id, tenant=self.project_id)
def __init__(self): self.engine_api = engineapi.API()