示例#1
0
 def setUp(self):
     super(TestGlanceImageServiceClient, self).setUp()
     self.context = context.RequestContext('fake', 'fake', auth_token=True)
     self.mock_object(glance.time, 'sleep', return_value=None)
     service_auth.reset_globals()
示例#2
0
 def setUp(self):
     super(TestGlanceImageServiceClient, self).setUp()
     self.context = context.RequestContext('fake', 'fake', auth_token=True)
     self.mock_object(glance.time, 'sleep', return_value=None)
     service_auth.reset_globals()
示例#3
0
 def setUp(self):
     super(ServiceAuthTestCase, self).setUp()
     self.ctx = context.RequestContext('fake', 'fake')
     service_auth.reset_globals()
示例#4
0
 def setUp(self):
     super(ServiceAuthTestCase, self).setUp()
     self.ctx = context.RequestContext('fake', 'fake')
     service_auth.reset_globals()