Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
 def __init__(self):
     self.engine_api = engineapi.API()