Esempio n. 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()
Esempio n. 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()
Esempio n. 3
0
 def setUp(self):
     super(ServiceAuthTestCase, self).setUp()
     self.ctx = context.RequestContext('fake', 'fake')
     service_auth.reset_globals()
Esempio n. 4
0
 def setUp(self):
     super(ServiceAuthTestCase, self).setUp()
     self.ctx = context.RequestContext('fake', 'fake')
     service_auth.reset_globals()