Esempio n. 1
0
 def setUp(self):
     super(SchedulerStatsAPITest, self).setUp()
     self.flags(host='fake')
     self.controller = scheduler_stats.SchedulerStatsController()
     self.ctxt = context.RequestContext(fake.USER_ID, fake.PROJECT_ID, True)
Esempio n. 2
0
 def setUp(self):
     super(SchedulerStatsAPITest, self).setUp()
     self.flags(host='fake')
     self.controller = scheduler_stats.SchedulerStatsController()
     self.ctxt = context.RequestContext('admin', 'fake', True)